Skip to main content

Search and Top Navigation

#15348 new bug ()

Opened June 14, 2019 07:19AM UTC

Last modified June 14, 2019 07:19AM UTC

jQuery 3.4.1 breaks jQuery UI datepicker ?

Reported by: christopheroussy 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

Attachments (0)
Change History (0)