Opened 3 years ago

#14894 new bug

Sortable: Large items of nested sortable can not be inserted on top

Reported by: go-two Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.11.4
Keywords: sortable nested Cc:
Blocked by: Blocking:

Description

JsFiddle: jsfiddle.net/355d6yrk

Versions: jQuery 1.11.0, iQuery UI 1.11.4, Firefox 43.0.2, Opera 12.17

How to reproduce:

    1. take item72
    2. drop it between item15 - item16
    3. -> it works as expected
    4. take item73
    5. drop it between item10 - item11
    6. -> it works NOT as expected
  1. Press button "short text"
    1. repeat the steps 1.1. - 1.5.
    2. -> it works as expected

Hints:
The effect occurs when the text differs by exactly one additional character of item. This can be verified in the JsFiddle example by changing the text length from
this is a loooooooooooooooooooooooooooooooong text (22 'o' chars) to
this is a looooooooooooooooooooooooooooooooong text (23 'o' chars).

Change History (0)

Note: See TracTickets for help on using tickets.