aboutsummaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
...
* Menu: Ignore mouse events triggered due to page scrollingScott González2017-05-021-0/+12
| | | | | Fixes #9356 Closes gh-1806
* Menu: Handle mouse movement mixed with keyboard navigationScott González2017-05-021-23/+33
| | | | | Fixes #9357 Closes gh-1805
* Menu: Don't focus dividers when wrapping via keyboard navigationScott González2017-05-021-11/+13
| | | | | Fixes #15157 Closes gh-1804
* Button: Fix backcompat when called on collection of mixed elementsAlexander Schmitz2017-05-021-14/+73
| | | | | Fixes #15109 Closes gh-1808
* Sortable: Fix various scrolling issuesA. Wells2017-05-021-129/+168
| | | | | | | | | | | | | | | | | | | * Created _scroll extension point and migrated scroll code from _mouseDrag * Cleaned up logic for scrolled * Fixed appendTo functionality to match documentation * Remove unnecessary function calls * Move set-up position functions to appropriate place * Base scrollParent on placeholder and not helper * Update scrollParent when switching containers Fixes #3173 Fixes #15165 Fixes #15166 Fixes #15167 Fixes #15168 Fixes #15169 Fixes #15170 Closes gh-1793
* Labels: Handle empty setsScott González2017-05-021-0/+4
| | | | Fixes #15184
* Menu: Close menus immediately on selection or click outsideScott González2017-04-251-2/+2
| | | | | Fixes #15034 Closes gh-1807
* Widget: Handle `Object.create(null)` for options objectsScott González2017-04-241-1/+2
| | | | | Fixes #15179 Closes gh-1809
* Widget: Improve `remove` event bindings for `classes` optionsScott González2017-04-191-5/+21
| | | | | | | | | Fixes #15078 Fixes #15082 Fixes #15095 Fixes #15136 Fixes #15152 Closes gh-1769
* Resizable: Keep user-provided handles on destroyKonstantin Dinev2017-04-171-3/+2
| | | | | Closes gh-1798 Ref gh-1795
* Datepicker: Corrections for Swedish localizationAlbert Johansson2017-03-011-7/+7
| | | | | | | | Months and weekdays should be in small caps in Swedish. https://sv.wikipedia.org/wiki/Versalisering Fixes #15142 Closes gh-1799
* Widget: Don't swallow errors in `remove` eventsScott González2017-02-281-9/+5
| | | | | | | The try/catch was only there to support jQuery <1.6.3, which we no longer support. Ref jquery/jquery#3554
* Resizable: Keep user defined handles on _setOptionKonstantin Dinev2017-02-241-2/+6
| | | | | Fixes #15084 Closes gh-1795
* Spinner: Ignore `mousewheel` events when not focusedScott González2017-02-211-1/+5
| | | | | Fixes #15139 Closes gh-1794
* Datepicker: Fix prev/next button behavior with `showCurrentAtPos`claudi2017-01-251-3/+1
| | | | | Fixes #15102 Closes gh-1784
* Autocomplete: Fix IE/Edge scrolling issuesRyan Oriecuia2017-01-251-23/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IE11 and scrolling autocompletes didn't get along great; this should help fix their relationship. When you click on an autocomplete scrollbar in IE11, the menu temporarily gains focus, which caused a couple problems. 1. Depending on how long you clicked, the dropdown could close. 2. Scrolling down by clicking the scrollbar's down arrow would misbehave. The list would pop back up to the top with the first item selected. We can fix both problems by modifying the focus/blur handling a bit. 1. There is a flag to instruct the control to ignore blurs, but it was getting cleared too quickly; when the code refocused the input after it was blurred, IE would send *another* blur event, which wasn't getting ignored and would close the dropdown. We now wait for the focus/blur pair to process before clearing the flag. 2. We remove the tabindex from the dropdown menu, which prevents menu's focus handler from firing. When you focus a menu, it will select the first menu item if none are selected. Selecting a menu item will scroll it into view if it's not visible. This combination of behaviors was causing the strange behavior when attempting to scroll down. I couldn't figure out a way to write a unit test for this, since it's IE only and seems to require user interaction. You can verify the previous behavior (and the fix) on `demos/autocomplete/maxheight.html` Fixes #9638 Closes gh-1785
* Effect: Fix typoLuke Brookhart2016-12-161-1/+1
| | | | Closes gh-1778
* Selectmenu: Don't render options with the `hidden` attributeScott González2016-11-161-0/+4
| | | | Fixes #15098
* Tooltip: Clear interval for delayed tracking tooltips on removepallxk2016-11-161-0/+4
| | | | | | | This is needed in the case that the tooltip is removed before it gets shown. Fixes #15099 Closes gh-1768
* Spinner: Fix typoKyle Rosenberg2016-11-021-7/+7
| | | | Closes gh-1764
* Sortable: Fix `z-index` switching from `auto` to `0`Jeremy Mickelson2016-10-191-7/+10
| | | | | | | | Save `z-index` before saving `opacity`. Setting `opacity` automatically changes `z-index`. Fixes #14683 Closes gh-1762
* Form: Rename from `.form()` to `._form()` since its not for public useScott González2016-10-113-3/+3
| | | | | Fixes #15074 Closes gh-1760
* Sortable: Setting table row placeholder height to be same as sorted rowKevin Cupp2016-10-041-9/+15
| | | | | Fixes #13662 Closes gh-1578
* Checkboxradio: Don't add ui-state-hover to iconsAlexander Schmitz2016-10-041-3/+0
| | | | | Fixes #15055 Closes gh-1756
* Datepicker: Correct Traditional Chinese translationSimon Asika2016-10-041-4/+4
| | | | | Fixes #15060 Closes gh-1754
* Sortable: Fix parent offset detectionRobin2016-10-041-2/+6
| | | | | Fixes #15021 Closes gh-1749
* Droppable: Use `$.ui.intersect()`Evelyn Masso2016-10-031-4/+4
| | | | Fixes #14963
* Tabs: Remove presentation rolemilk542016-09-291-1/+0
| | | | | Fixes #10122 Closes gh-1748
* Resizable: Fix aspectRatio cannot be changed after initialization.Sergei Ratnikov2016-09-281-0/+3
| | | | | Fixes #4186 Closes gh-1750
* Sortable: Use an event object for simulated `mouseup` in `cancel()`Scott González2016-09-141-1/+1
| | | | | | | Regression caused by a1d69208bad175a27c7b50c27fdc10001563cd4d Fixes #15042 Closes gh-1746
* Widget: Untrack classes elements when they are removed from the DOMAlexander Schmitz2016-09-131-0/+13
| | | | | Fixes #15043 Closes gh-1744
* Draggable: Fix spurious blur in dialogs on mousedownRyan Oriecuia2016-09-131-6/+5
| | | | | | | | | | | | | | | | | | I was running into a problem with a popup menu control in a dialog; clicks weren't working (but keyboard was working fine). It turned out that the menu was getting destroyed before the click event could fire. Tracked down the issue to the way draggable blurs focused controls; it was doing the blur before it ran through the logic to figure out if the drag was actually on the handle. I've moved the blur below these checks, so it'll only blur things if it actually needs to handle the drag. Otherwise, it asserts no opinion on what should and shouldn't be focused, which seems like the way things ought to be. Also, added a unit test to check for the expected behavior. Fixes #15046 Closes gh-1730
* Slider: Add demo for custom handleScott González2016-09-131-1/+3
| | | | | Fixes #15023 Closes gh-1740
* Position: Remove fractional pixel detectionScott González2016-08-311-28/+1
| | | | | | Hooray for newer browsers. Closes gh-1739
* Controlgroup: Don't use `String.prototype.trim()`Scott González2016-08-311-1/+1
| | | | We still support IE 8, which doesn't have this method.
* Tabs: Strip hash from remote content URLsScott González2016-08-311-1/+4
| | | | | | | | As of jQuery 3.0.0, hashes are no longer stripped for Ajax requests. This causes issues in IE <11, so we need to strip this before making the request. Ref jquery/jquery#1732 Closes gh-1736
* Menu: Support number pad keyboard inputFelix Nagel2016-08-241-1/+4
| | | | | Fixes #15031 Closes gh-1732
* Widget: `instance()` should return `undefined` for empty setsScott González2016-08-041-24/+31
| | | | Fixes #15019
* Dialog: Support deprecated button optionsScott González2016-07-251-1/+11
| | | | | Fixes #15016 Closes gh-1723
* Controlgroup: Handle child elements that don't have options definedScott González2016-07-131-0/+2
| | | | Closes gh-1719
* Checkboxradio: Fix label handling with jQuery 3.xScott González2016-07-121-2/+10
| | | | | Fixes #15006 Closes gh-1720
* Controlgroup: Correctly handle non-empty child class keyGabriel Schulhof2016-07-061-4/+16
| | | | | Fixes #14984 Closes gh-1713
* Controlgroup: Add "only" position to class generator functionsAlexander Schmitz2016-06-091-3/+10
| | | | | Fixes #14972 Closes gh-1711
* Checkboxradio: Use new `ui-state-checked` class in checkboxradioAlexander Schmitz2016-06-061-5/+4
| | | | | | | | Using `ui-state-highlight` caused a conflict with dialog Fixes #14955 Closes gh-1712 Closes gh-1704
* Controlgroup: Fix rendering of labelsAlexander Schmitz2016-05-261-4/+9
| | | | | Fixes #14967 Closes gh-1703
* Controlgroup: Fix issues with compatibility with spinnerAlexander Schmitz2016-05-261-1/+5
| | | | Fixes #14966
* Controlgroup: Don't remove existing classes classesAlexander Schmitz2016-05-261-9/+25
| | | | | | unless its a corner class Fixes #14960
* Focusable: Detect disabled fieldsetsScott González2016-05-251-7/+24
| | | | | Fixes #14970 Closes gh-1705
* Tabs: Fix testScott González2016-05-251-2/+2
|
* Tabs: Fix default `classes` optionScott González2016-05-251-1/+1
| | | | Fixes #14973