Skip to main content

Search and Top Navigation

#14742 closed bug (wontfix)

Opened October 30, 2015 07:19AM UTC

Closed November 06, 2015 07:13PM UTC

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
Attachments (0)
Change History (3)

Changed October 30, 2015 01:37PM UTC by scottgonzalez comment:1

owner: → denis
status: newpending

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?

Changed November 06, 2015 08:36AM UTC by denis comment:2

status: pendingnew

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.

Changed November 06, 2015 07:13PM UTC by scottgonzalez comment:3

resolution: → wontfix
status: newclosed

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.