Opened 3 years ago

Last modified 3 years ago

#14404 new bug

connectToSortable offset is wrong when scrolled down

Reported by: gkoberger Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:

Description

When using connectToSortable, the item is always placed further up the list than it should be when the page is scrolled:

https://camo.githubusercontent.com/beb3b86cb3e1e1f57b9b5468a3d7f94d01f6060c/687474703a2f2f636c2e6c792f696d6167652f3038327133633174316e31672f63

By moving the item up or down, you can get it to go to the right place. However it makes everything jump initially.

It works correctly with 1.11.*, but is broken in 1.11.* (starting from 1.11.0).

1.10.3 (works): http://codepen.io/gkoberger/pen/rOBOZO 1.11.4 (broken): http://codepen.io/gkoberger/pen/yYBYEm

Change History (2)

comment:1 Changed 3 years ago by Carsten Schmitz

We experience this issue too - for an example fiddle see here:

https://jsfiddle.net/kbh63s7f/3/

The fiddle is based on the latest version available.

comment:2 Changed 3 years ago by Koen Glotzbach

This is probably not-done, but I'd like to shout-out as an affected end-user: I'm using LimeSurvey and I'm afraid a ranking question for my academic survey yields false results (item doesn't get placed in expected place, and participants probably don't notice). See my initial report at the LimeSurvey bug tracking system: https://bugs.limesurvey.org/view.php?id=11078

So I hope this can soon be resolved :)

Last edited 3 years ago by Koen Glotzbach (previous) (diff)
Note: See TracTickets for help on using tickets.