jQuery UI 1.13.0 changed the logic attaching the `_untrackClassesElement`
listener in the `_classes` widget method; one of the side effects was calling
`this._on` for each node that needed the listener. That caused a severe
performance degradation for large comboboxes as each `_on` jQuery UI call
causes a jQuery `add` call that calls Sizzle's `uniqueSort` underneath.
Instead, collect the nodes that need the listener and then, outside of the loop,
create a jQuery object out of them and attach the listener once. That's still
slower than the jQuery 1.12 version but only slightly: 936 ms to 1.03s on a very
large list on a recent MacBook Pro, compared to ~30 seconds before this patch.
Fixes gh-2014
Closes gh-2037
This fixes the issue caused by https://bugs.jqueryui.com/ticket/9357.
We now empty the live region instead of appending to it, and we do so
after a brief timeout so the live region isn't updated on every mousemove
event or when quickly traversing through options.
Fixes gh-2002
Closes gh-2031
This helps fix issues that make tooltip tests sometimes fail when run against
jQuery 3.2 or newer due to timing differences.
Details:
* Add the `moduleAfterEach` function ensuring no timers are running.
* Attach this function via `common.testWidget`.
* Attach this function to most test suites.
* Add a tooltip test helper cleaning up leftover timers.
* Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`.
Closes gh-1920
This ensures that the menu will close if the user interacts with a
draggable, resizable, etc. element since those interactions don't
change focus.
Ref #6642
Closes gh-1614
So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.
Fixes#10692
This fixes an issue where contenteditable text was getting overwritten when
wrapping past the bottom or top of the autocomplete menu.
Fixes#9771
Closes gh-1184
Fixes#5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes#5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes#6039 - Droppable: disabled should not have ui-state-disabled
This reverts commit 23771d38ba.
Fixes#5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes#5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes#6039 - Droppable : disabled should not have ui-state-disabled