Opened 9 years ago
Closed 9 years ago
#10147 closed bug (fixed)
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.
Change History (7)
comment:1 Changed 9 years ago by
Owner: | set to jsonx |
---|---|
Status: | new → pending |
comment:3 Changed 9 years ago by
Keywords: | regression added |
---|---|
Status: | new → open |
comment:4 Changed 9 years ago by
Owner: | changed from jsonx to mikesherov |
---|---|
Status: | open → assigned |
sigh
comment:5 Changed 9 years ago by
Milestone: | none → 1.11.1 |
---|---|
Summary: | Wrong draggable position in a parent with "overflow: hidden" → Draggable: Wrong position in a parent with "overflow: hidden" |
comment:7 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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
Please provide a reduced test case showing the problem. Ideally without any custom scrollbars, unless the summary isn't actually accurate.