Skip to main content

Search and Top Navigation

#14404 new bug ()

Opened August 26, 2015 11:49PM UTC

Last modified May 11, 2016 10:28PM UTC

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:

[[Image(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

Attachments (0)
Change History (2)

Changed May 04, 2016 02:42PM UTC by c-schmitz comment:1

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.

Changed May 11, 2016 10:26PM UTC by keunes comment:2

_comment0: 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). \ \ So I hope this can soon be resolved :)1463005683681795

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 :)