Some jQuery UI widgets are missing dependencies and loaded more dependencies than its required.

#2906737: jQuery UI checkboxradio and selectmenu errors following 8.4 update to jQuery 1.12
#2925997: position-min.js issue since 8.4 upgrade

It's a critical bug IMO but I started with Major first. And let someone with higher power to make a good decision :p

** I coded a dirty script for this but then I realize it's not the CORE way to handle jQuery UI. So I open this issue and seek some feedback first. Take a look if you need it for the further patching:
https://gist.github.com/KayLeung/b6455829db44d51f31aff27f6408b891

CommentFileSizeAuthor
#3 2926155-3.patch1.07 KBedurenye
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

droplet created an issue. See original summary.

droplet’s picture

1.My first thought is to register all js entry in `jquery.ui` as lib.
2. Then, to fix each widget's dependencies

After all, we have:
jquery.ui (In long term, rename to jquery.ui.core?)
jquery.ui.widgetName
jquery.ui.effects.effectName
jquery.ui.utilities.name <~ NEW

edurenye’s picture

Status: Active » Needs review
FileSize
1.07 KB

Here is the progress we did in #2906737 as a starting point.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Regnoy’s picture

Tested, work