Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Draggable: consider offsets from overflow:hidden parents
Developers can programmatically set scrollTop/Left on draggable containers that are overflow:hidden. They must be considered for positioning. Fixes #10147
- Loading branch information
Showing
with
38 additions
and 32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -361,7 +361,7 @@ test( "containment, account for border", function() { | ||
el.css({ | ||
height: "5px", | ||
width: "5px" | ||
}).draggable({ containment: "parent", scroll: false }); | ||
|
||
el.simulate( "drag", { | ||
dx: 100, | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters