Opened 7 years ago
Closed 7 years ago
#14742 closed bug (wontfix)
FF. mouse scrolling produces item dragging.
Reported by: | denis | Owned by: | denis |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.draggable | Version: | 1.11.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Case: Draggable item has a scroll bar. Issue: Trying to scroll using mouse produces item dragging in Firefox. There is no item dragging in Chrome and IE.
Call stack in case of FF scrolling:
- mouse_down
- mouse_move
- mouse_up
Chrome and IE:
- mouse_down
- mouse_up
Change History (3)
comment:1 Changed 7 years ago by
Owner: | set to denis |
---|---|
Status: | new → pending |
comment:2 Changed 7 years ago by
Status: | pending → new |
---|
Seems there is no robust solution.
In FF case mousemove event will always produce scroll event.
The only one suggestion is to execute draggable.mousemove event handler with some delay, so developer will be able to catch scroll event first and call there mouseup() of the scrollable element in order to stop draggable chain.
comment:3 Changed 7 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
We're actually moving away from asynchronous interactions, so I don't think we can add a delay here. I still think this is bad UX to have a draggable element with no handle that also has a scrollbar.
Sounds like there's nothing we can do about that. You should probably use a handle for a scrollable element. Did you have other thoughts about how this would work?