Unity-UI-Extensions/com.unity.uiextensions

Reorderable List Element IsTransferable property does not prevent drop into second list

Closed this issue · 0 comments

Issue created by Jens Kendl as Bitbucket Issue #​382 on 2021.07.10 17:59.
Version 2.2.7

When I create 2 reorderable lists and set the property IsTransferable of all elements of the first list to false,
I can drop the elements of the first list into the second list. See video for demonstration.

Expectation is: Drop and preview of drop is prevented on the second list for elements of the first list.

There was a bug fix for #347
with the following commit UnityUIExtensions / Unity-UI-Extensions / commit / 79290237b872 — Bitbucket
where the line preventing the drop was commented out.
See ReorderableListElement line 182

Uncommenting it fixed it for me. But think there was a reason and it would be only a start to fix the issue right?