Search and Top Navigation
#8564 closed bug (worksforme)
Opened September 11, 2012 01:49PM UTC
Closed November 27, 2012 06:55PM UTC
jQuery 1.8+ breaks sortable list scrolling inside absolute positioned element with bottom: 0
Reported by: | ryfry07 | Owned by: | ryfry07 |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.sortable | Version: | 1.8.23 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using jQuery 1.7.2 I was able to drag sortable elements inside an absolutely positioned element with bottom: 0; But upgrading from jQuery 1.7.2 to 1.8+ causes the following jsfiddle to not work:
The container never scrolls. If you switch back to 1.7.2, it scrolls.
Tested on Chrome, Firefox, Safari and IE.
Attachments (0)
Change History (7)
Changed October 11, 2012 02:56PM UTC by comment:1
milestone: | 1.9.0 → 2.0.0 |
---|
Changed October 29, 2012 05:08AM UTC by comment:2
owner: | → ryfry07 |
---|---|
status: | new → pending |
Thanks for contributing! Why are you specifying both "top" and "bottom" on the container element? I understand this used to "work" in jQuery 1.7.2, but what are you trying to achieve by specifying both? I can investigate this further once I understand the intent of that code. Thanks again!
Changed October 29, 2012 08:12PM UTC by comment:3
mikesherov: Specifying both top
and bottom
is an easy way to expand to fill the parent. It's like a reliable height: 100%
.
Changed October 29, 2012 08:13PM UTC by comment:4
status: | pending → open |
---|
That's interesting.
Changed October 29, 2012 08:27PM UTC by comment:5
scott.gonzalez is correct. My intent is to have an area that's scrollable that doesn't cause the whole window to get its own scrollbar. Other interface elements on the page stay put, and you can drag sortable elements inside the absolutely positioned area that scrolls.
Changed November 27, 2012 06:46PM UTC by comment:6
It seems to be fixed with jQuery 1.8.3 and jQuery UI 1.9.2
Changed November 27, 2012 06:55PM UTC by comment:7
resolution: | → worksforme |
---|---|
status: | open → closed |