Opened 4 months ago

#15348 new bug

jQuery 3.4.1 breaks jQuery UI datepicker ?

Reported by: Christophe Roussy Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

I recently moved to jQuery 3.4.1 which deprecates selectors using :first, :last, ... and such in preparation for jQuery 4.x.

I was wondering how much this impacts jQueryUI datepicker because I grepped into all .js files in my project and in jQueryUI I see: e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml) and .filter(":first") in jQuery UI - v1.12.1 - 2016-12-02. .first() could be used instead.

Will major jQuery libraries like jQuery UI also be updated to remove/replace the deprecated selectors ?

https://github.com/jquery/jquery/issues/4420

Change History (0)

Note: See TracTickets for help on using tickets.