aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/draggable.js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Draggable: Fix line length issuesAlexander Schmitz2016-04-131-78/+203
| | | | Ref gh-1690
* Draggable: Improve detection for when to blur the active elementScott González2016-02-091-4/+9
| | | | | | Fixes #12472 Fixes #14905 Closes gh-1548
* All: Fix manifest issues for categories and CSS dependenciesJörn Zaefferer2015-10-231-1/+1
| | | | | | | Collapses "UI Core" and "Core" into just "Core". Fixes bad paths for CSS dependencies. Regressed when moving widgets into the widgets subfolder.
* Mouse: Don't stop propagation of mouseupHannah Methvin2015-10-181-2/+2
| | | | Fixes #10818
* Draggable: Remove redundant handling of disabled class on createJörn Zaefferer2015-09-251-3/+0
| | | | | | | _setOptionDisabled in $.Widget is now handling that. Ref #9151 Ref gh-1599
* Draggable: Style updatesAlexander Schmitz2015-09-111-193/+201
| | | | Ref #14246
* Draggable: Style updatesAlexander Schmitz2015-08-211-6/+6
| | | | | Ref #14246 Ref gh-1588
* Mouse: Move mouse into widgets folderAlexander Schmitz2015-08-081-1/+1
| | | | Ref #13885
* Draggable: Move draggable into widgets folderAlexander Schmitz2015-08-081-0/+1116
Ref #13885