aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable
Commit message (Collapse)AuthorAgeFilesLines
* Draggable: Ensure parent is correct after dragging through sortableMike Sherov2014-11-081-0/+23
| | | | Fixes #10669
* Draggable: Add battery of tests to cover connectToSortableMike Sherov2014-08-262-28/+107
| | | | | | Refs #9481 Refs #9675 Closes gh-1323
* Sortable: cancelHelperRemoval only considers helper, not placeholderMike Sherov2014-08-261-1/+1
| | | | Refs #9675
* Draggable: append divs to iframe parent for iframefixMike Sherov2014-08-241-0/+42
| | | | | | | This allows the blocking div to move with the iframe in most situations, whereas appending to the body wouldn't. Fixes #9671
* Draggable: Check all parents for fixed positioning when scrollingMike Sherov2014-08-231-12/+20
| | | | Fixes #9612
* Draggable: No cloning in connectToSortable and ensure correct positionMike Sherov2014-08-232-1/+105
| | | | | | | | | | | Draggables now forcefully recalculate their position when dragged out of a sortable. Sortables now override draggable position when a draggable is dragged into it. Lastly, no longer remove sortable helper when dragging a draggable out, which allows us to not use a clone. Fixes #7734 Fixes #8809 Closes gh-1322
* Draggable Tests: Ensure scrolling and dragging tests assert correctlyDave Stein2014-08-224-12/+27
|
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* Draggable Tests: Fix failures due to fractional widthsMike Sherov2014-08-201-2/+2
|
* Mouse: Only detect out of document mouseups after a mousemoveMike Sherov2014-08-201-0/+17
| | | | | | | | This prevents the firing of mouseup in the case of IE<9, which will fire a mousemove event if content is placed under the cursor on mousedown. Fixes #7778
* Draggable: Ensure helper is positioned even if its the element itselfMike Sherov2014-08-191-0/+19
| | | | Fixes #9446
* Draggable: Set explicit width/height instead of right/bottom css.Uri Gilad2014-08-182-2/+34
| | | | Fixes #7772
* Draggable: Ensure overflow:visible containments are correctly measuredMike Sherov2014-08-171-0/+30
| | | | Fixes #7016
* Draggable: Only focus the draggable if the event occurs on a handleMike Sherov2014-08-171-7/+15
| | | | Refs #10527
* Draggable: Recalculate hash offset on start after plugins runMike Sherov2014-08-161-0/+39
| | | | Fixes #6884
* Draggable Tests: Clarify position helper test generationMike Sherov2014-08-141-43/+44
|
* Draggable: Account for margins when snappingMike Sherov2014-08-141-0/+4
| | | | Fixes #9724
* Draggable Tests: Fix IE8 test when native scroll happensMike Sherov2014-08-131-3/+22
|
* Draggable: ignore overflow:hidden containers with scroll optionMike Sherov2014-08-121-0/+14
| | | | | | While it is true that overflow:hidden elements can be scrolled programatically, this breaks user expectation. Therefore, do not scroll inside an overflow:hidden container.
* Draggable: consider offsets from overflow:hidden parentsMike Sherov2014-08-122-31/+37
| | | | | | | | Developers can programmatically set scrollTop/Left on draggable containers that are overflow:hidden. They must be considered for positioning. Fixes #10147
* Draggable Tests: Fix several whitespace issues.Mike Sherov2014-08-122-3/+2
|
* Draggable Tests: Fix inconsistent operator spacing.Mike Sherov2014-08-061-4/+4
|
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Draggable: Manage ui-draggable-handle correctly in nested instancesTJ VanToll2014-07-151-0/+13
|
* Draggable: Only apply ui-draggable-handle within the draggable instanceTJ VanToll2014-07-151-2/+6
| | | | | Fixes #10212 Closes gh-1284
* Build: Reorganize external directoryScott González2014-06-242-4/+4
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* Draggable Tests: fix IE scroll tests affected by focus issues.Mike Sherov2014-02-181-5/+12
| | | | | Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior, we must calculate scrollTop on the drag event, before .focus is called.
* Draggable Tests: fix IE offset tests affected by focus issues.Mike Sherov2014-02-181-1/+1
| | | | | | Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior, we must rely on the actual calculated offset instead of the helper offset to ensure cross browser test consistency.
* Draggable: fix current JSCS violations.Mike Sherov2014-02-182-28/+38
|
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-7/+7
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Draggable: fix changing containmentBen Higgins2014-01-201-2/+7
| | | | | | | | | | | | | If containment was set such that relative_container is set by _setContainment, and then containment changes to e.g. "document", "window", or an array, relative_container would not be unset, causing incorrect containment of the draggable. Add a unittest to check that containment with an array works after previously being set to "parent". Fixes #9733 Closes gh-1176
* Tests: Fix draggable_options expected test count to be dynamicBrian J. Dowling2014-01-161-1/+2
| | | | | | | | The test count was previously incremented to 8 when normally 6 tests are run. After figuring out the dynamic test code, I just made the expect depend on the same array length Also re-enabled the test in the Gruntfile since it now passes.
* Slider & Interactions: Add Windows 8 touch supportTJ VanToll2014-01-151-0/+14
| | | | | | Fixes #9709 Fixes #9710 Closes gh-1152
* Draggable: Test fix regarding static scrollingDave Stein2013-12-151-1/+2
| | | | | | | No longer checking scroll positions of static scrolls since the fixture is in an absolute container. Closes gh-1145
* Draggable Unit Tests: Ensure IFRAMEs can be written toMike Sherov2013-12-141-5/+9
| | | | Draggable tests were failing in IE because the frame needs to be written to to be accessible to further DOM manipulation.
* Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes ↵Mike Sherov2013-12-033-4/+49
| | | | | #9379 - Draggable: position bug in scrollable div Core: update scrollParent() to support all current supported browsers.
* Draggable Tests: don't test auto scroll while testing helpers.Mike Sherov2013-10-312-12/+7
|
* Draggable Tests: Ensure all combinations of helper / draggable positions / ↵Mike Sherov2013-10-291-274/+49
| | | | scrollParents / parent positions are tested accurately.
* Draggable Tests: Ensure Draggable tests are correctly testing offset under ↵Mike Sherov2013-10-233-116/+108
| | | | scroll conditions.
* Draggable Tests: Test both position and offset of draggable element in all ↵Mike Sherov2013-10-214-61/+73
| | | | applicable tests.
* Draggable: apply axis options to position instead of style. Fixes #7251 - ↵Mike Sherov2013-10-201-4/+18
| | | | Draggable: constrained axis option returns incorrect position.
* Draggable Tests: Fix lint error.Mike Sherov2013-10-201-2/+2
|
* Draggable Tests: Add position asserts to drag testsMike Sherov2013-10-204-60/+74
| | | | They're currently disabled however due to bugs both in the tests and in the actual widget.
* Draggable Tests: consolidate drag tests and provide error messages for all ↵Mike Sherov2013-10-203-65/+64
| | | | assertions.
* Draggable Tests: clarify scroll helpers.Mike Sherov2013-10-202-66/+58
|
* Draggable Tests: make sure offset tests are actually testing offsetsMike Sherov2013-10-193-12/+14
|
* Tests: extract TestHelpers.forceScrollableWindow for tests that need the ↵Mike Sherov2013-10-191-15/+7
| | | | window to scroll
* Draggable: Ignore scroll offsets for abspos draggables. Fixes #9315 - ↵Mike Sherov2013-08-121-0/+25
| | | | Draggable: jumps down with offset of scrollbar