Unity-UI-Extensions/com.unity.uiextensions

BUG: Reorderable lists elements shown in wrong position when dragging them for a few pixels

Opened this issue · 0 comments

Unity UI Extensions Bug Report

Describe the bug

When dragging a reorderable element, in the very first movement phase, sometimes the element gets overlapped with another element. Continuing to drag, the issues disappears automatically and all the elements are in the correct place.

To Reproduce

  1. Open the Reorderable List scene
  2. Press the mouse button on a reorderable element
  3. Perform a very small drag (until the element actually moves), stop moving but keep the mouse pressed
  4. Notice how another element has moved and now overlaps with the dragged element
  5. Continue to drag the element and see how everything works fine again

Expected behavior

In the first drag phases elements, only the dragged element should move.

Actual behavior

In the first drag phases elements, other elements temporarily move and overlap with the dragged one.

Screenshots

image

Setup

Unity 2020.3.25f1
Version 2.3.2