Skip to main content

Search and Top Navigation

#9612 closed bug (fixed)

Opened October 21, 2013 06:43PM UTC

Closed August 23, 2014 07:36PM UTC

Last modified August 23, 2014 07:36PM UTC

Draggable: abspos elements inside of fixed elements moving away from the mouse when scrolling

Reported by: Xenon Owned by: mikesherov
Priority: minor Milestone: 1.11.2
Component: ui.draggable Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

When dragging a draggable element from an absolutely positioned div inside a position:fixed div, the element moves away from the mouse when scrolling. This happens with all versions I've tried, being 1.10.3, 1.10.2, git, and 1.8.2. Tested it with the newest Chrome and Firefox browsers.

Here's a JSFiddle demonstrating it: http://jsfiddle.net/LRVNq/1/

I realize there's quite a few tickets regarding draggable and scrolling already, but none of them seem to include position:fixed, so this might be a different problem.

Attachments (0)
Change History (5)

Changed December 15, 2013 06:13PM UTC by mikesherov comment:1

milestone: none1.11.0
owner: → mikesherov
status: newassigned

Yup, this is a new one. I suppose I have to check .parents() for a fixed parent.

Changed December 15, 2013 07:02PM UTC by mikesherov comment:2

summary: Draggable moving away from the mouse when scrolling and using position:fixed;Draggable: abspos elements inside of fixed elements moving away from the mouse when scrolling

Changed April 01, 2014 06:48PM UTC by scottgonzalez comment:3

milestone: 1.11.0none

Changed August 23, 2014 07:36PM UTC by Mike Sherov comment:4

resolution: → fixed
status: assignedclosed

Draggable: Check all parents for fixed positioning when scrolling

Fixes #9612

Changeset: df7e32fe3798562ffb86d064444f1e0cc8ac59a8

Changed August 23, 2014 07:36PM UTC by mikesherov comment:5

milestone: none1.11.2