Opened 11 years ago
Closed 11 years ago
#8500 closed bug (notabug)
Sortable items with scrollbar-scrolling triggers drag event
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.sortable | Version: | 1.8.22 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you have any sortable elements with a specified height and overflow-y: scroll, scrolling on it will trigger the drag event. I'd like to know if this is a bug or intended behavior and, if so, is there a workaround for it.
I submitted a request for help on this on stackoverflow. The link, together with code examples, can be found here:
http://stackoverflow.com/questions/11455614/jquery-ui-nested-sortable-and-scrolling
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This ticket can be closed.
I found a workaround, or maybe even a solution.
Add a wrapper element, such as a div outside the scrollable content (content with overflow: scroll). Use the selector for that wrapper as your "cancel" option as follows:
$(".meh").each(function(){
});