aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/events.js
Commit message (Collapse)AuthorAgeFilesLines
* All: Drop support for IE & some other browsers (but mostly IE)Michał Gołębiowski-Owczarek2024-05-151-18/+6
| | | | Closes gh-2249
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-071-0/+1
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-161-2/+4
| | | | | | | | | | | | | 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
* All: Remove usage of jQuery positional selectorsMichał Gołębiowski-Owczarek2020-01-221-6/+6
| | | | | | | | | | | | | | | | | jQuery positional selectors () have been deprecated in [jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/) and they'll be removed in jQuery 4.0.0. This PR removes their usage. Most of the changes were possible without changing public API. However, dropping `:even` usage required a change to the [`header` option](https://api.jqueryui.com/accordion/#option-header) of the accordion widget. I made it an optional function; this will need to be documented. The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was no usage of the :odd selector in the code but the `.odd()` method is also polyfilled for completeness. Closes gh-1904
* Menu: Don't focus dividers when wrapping via keyboard navigationScott González2017-05-021-0/+22
| | | | | Fixes #15157 Closes gh-1804
* Menu: Close menus immediately on selection or click outsideScott González2017-04-251-1/+3
| | | | | Fixes #15034 Closes gh-1807
* All: Replace non-breaking spaces with regular spacesScott González2016-06-081-1/+1
|
* Menu: Shift to use no globalsAmanpreet Singh2016-04-141-139/+154
|
* Menu: Don't reset active element until after triggering `blur` eventScott González2016-04-131-6/+10
| | | | | | | This ensures that `ui.item` actually exists in the `blur` event. Fixes #14945 Closes gh-1696
* Menu: Style updatesAlexander Schmitz2015-09-111-80/+82
| | | | Ref #14246
* Menu: Style updatesAlexander Schmitz2015-08-211-2/+2
| | | | | Ref #14246 Ref gh-1588
* Menu: Move menu into widgets folderAlexander Schmitz2015-08-081-1/+1
| | | | Ref #13885
* Menu: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-201-5/+5
|
* Tests: Rename filesScott González2015-04-091-0/+737
Ref gh-1528