aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/sortable.js
Commit message (Collapse)AuthorAgeFilesLines
* 1.13.31.13.3Michał Gołębiowski-Owczarek2024-04-261-2/+2
|
* Docs: Change a few most common domains from HTTP to HTTPSMichał Gołębiowski-Owczarek2024-04-261-4/+4
| | | | | Also, update a few stale URLs to what they redirect now to. Closes gh-2244
* All: Update JS Foundation mentions to OpenJS FoundationMichał Gołębiowski-Owczarek2022-07-191-1/+1
| | | Closes gh-2104
* Sortable: Fix positioning when moving a Draggable item into a SortableMichał Gołębiowski-Owczarek2021-11-151-0/+6
| | | | | | | | | PR gh-1793 removed setting `this.offset.parent` in the Draggable `refreshPositions` method which broke position calculations when moving a Draggable item into a connected Sortable. restore that assignment. Ref gh-1793 Fixes gh-2001 Closes gh-2009
* Sortable: Allow 0-height containers to be sortable as in 1.12.1Michał Gołębiowski-Owczarek2021-11-081-64/+57
| | | | | | | | | Note that container specific events will not fire when the dragged element is interacting with zero height containers. Fixes gh-1998 Closes gh-2008 Co-authored-by: A. Wells <borgboyone@users.noreply.github.com>
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-071-8/+18
| | | | | Fixes #15393 Closes gh-1958
* All: Migrate away from deprecated/removed Core APIsMichał Gołębiowski-Owczarek2019-12-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of the changes: * Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against * Build: Load jQuery & Migrate via HTTPS * Build: Add package-lock.json to .gitignore * Build: Update jQuery Migrate from 3.0.0 to 3.1.0 * Build: Allow to run tests against jQuery 3.x-git * Build: Fix formatting according to JSCS rules * Build: Disable JSCS for the inlined jQuery Color * All: Switch from $.isArray to Array.isArray (jQuery.isArray will be removed in jQuery 4.0) * All: Switch from `$.isFunction( x )` to `typeof x === "function"` (jQuery.isFunction will be removed in jQuery 4.0) * All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0 * Effects: Fix a timing issue in a variable declaration. Previously, a jQuery object was created, chained & assigned to a variable that was then accessed in a callback used inside of this chained definition. Due to a timing difference in when the callback fired for the first time in latest jQuery master, it was being called before the variable was defined. * Tests: Make dialog & draggable unit tests less strict (newest jQuery returns fractional results in some cases, making comparisons fail when there's a tiny difference) * All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim will be deprecated in jQuery 3.5) Closes gh-1901
* 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
* 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
* Sortable: Setting table row placeholder height to be same as sorted rowKevin Cupp2016-10-041-9/+15
| | | | | Fixes #13662 Closes gh-1578
* Sortable: Fix parent offset detectionRobin2016-10-041-2/+6
| | | | | Fixes #15021 Closes gh-1749
* 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
* Sortable: Fix line length issuesAlexander Schmitz2016-04-131-121/+346
| | | | Ref gh-1690
* Sortable: Fix incorrect top containment for documentMaksim Ryzhikov2016-04-121-1/+1
| | | | | Fixes #14927 Closes gh-1695
* Sortable: Update _contactContainers to use page clientX/Y valuesdstrohl2016-03-301-1/+1
| | | | | | | | | | | The sortable was using the window position compared with page position to determine where to drop objects. this was only a problem for sortables far enough down to require scrolling. Fixes #10727 Fixes #5039 Closes gh-1475 Closes gh-1585
* 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.
* Sortable: Style updatesAlexander Schmitz2015-09-111-367/+366
| | | | Ref #14246
* Sortable: Style updatesAlexander Schmitz2015-08-211-8/+8
| | | | | Ref #14246 Ref gh-1588
* Sortable: Move sortable into widgets folderAlexander Schmitz2015-08-081-0/+1330
Ref #13885