Skip to main content

Search and Top Navigation

#10147 closed bug (fixed)

Opened July 09, 2014 03:01PM UTC

Closed August 12, 2014 11:33PM UTC

Draggable: Wrong position in a parent with "overflow: hidden"

Reported by: jsonx Owned by: mikesherov
Priority: minor Milestone: 1.11.1
Component: ui.draggable Version: 1.11.0
Keywords: regression Cc:
Blocked by: Blocking:
Description

I have a container with overflow: hidden rule. I am using my custom scrollbars.

When I scroll left with my custom scrollbar and try to drag an event it's positions calculated incorrectly.

When I enable overflow: auto for parent element it solves the issue.

v.1.11.0 fixes ckeditor problems in a dialog but brings this draggable problem.

I am using v.1.11.0 but I had to add v.1.10.4 draggable plugin on it to fix draggable problem.

  • This bug happens when container has a horizontal scrollbar.
Attachments (0)
Change History (7)

Changed July 09, 2014 03:04PM UTC by scottgonzalez comment:1

owner: → jsonx
status: newpending

Please provide a reduced test case showing the problem. Ideally without any custom scrollbars, unless the summary isn't actually accurate.

Changed July 09, 2014 05:20PM UTC by jsonx comment:2

status: pendingnew

Changed July 09, 2014 05:33PM UTC by scottgonzalez comment:3

keywords: → regression
status: newopen

Changed August 06, 2014 09:55PM UTC by mikesherov comment:4

owner: jsonxmikesherov
status: openassigned

sigh

Changed August 07, 2014 12:25PM UTC by mikesherov comment:5

milestone: none1.11.1
summary: Wrong draggable position in a parent with "overflow: hidden"Draggable: Wrong position in a parent with "overflow: hidden"

Changed August 07, 2014 12:45PM UTC by mikesherov comment:6

Changed August 12, 2014 11:33PM UTC by Mike Sherov comment:7

resolution: → fixed
status: assignedclosed

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

Changeset: e9efbc222149ca7c7a5fef2c0fe28b7b1d9be698