Skip to main content

Search and Top Navigation

#4041 closed bug (fixed)

Opened February 02, 2009 06:41PM UTC

Closed February 13, 2009 01:28PM UTC

sortable fixed position bug in webkit

Reported by: smoofles Owned by:
Priority: critical Milestone: 1.7
Component: ui.sortable Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:
Description

http://demo.lepilo.at/lpl_sorting_test.html

In WebKit based browsers (Chrome, Safari, WebKit nightly), the two sortable lists in the right sidebar work correctly if the page is not scrolled down (scrollTop = 0). However, scrolling the page down (as viewing the main content area needs), confuses the sorting: the dragged element effects the position of the other elements relatively to the page's scroll amount. No scroll and it behaves fine, ~50 pixels and it seems to effect only elements when it's 100 pixels away from them, etc.

This is the sortable() code used for that, as seen in /javascripts/lpl.lab.js


  $(".inspector_list").sortable({ 
    /* connectWith: ["ul.lpl_topics_container > .container > .encapsulate"], */
    axis: "y",
    tolerance: "pointer",
    scrollSensitivity: 600
  }); 

It works fine with FireFox and Minefield.

Attachments (1)
  • default.html (1.0 KB) - added by scottgonzalez February 04, 2009 04:03AM UTC.

    minimal test case

Change History (2)

Changed February 04, 2009 03:47AM UTC by scottgonzalez comment:1

milestone: TBD1.6
priority: blockercritical
summary: sortable doesn't work correctly in webkit browsers when scrollTop is > 0sortable fixed position bug in webkit

This seems to be limited to fixed position elements.

Changed February 13, 2009 01:28PM UTC by paul comment:2

resolution: → fixed
status: newclosed

Fixed in r2077.