Unity-UI-Extensions/com.unity.uiextensions

Reorderable list element becomes 100 x 100 pixels when dropped on top of the list

Closed this issue · 3 comments

Issue created by Sina Barlas as Bitbucket Issue #​322 on 2020.05.07 21:01.
I am using the reorderable vertical scroll rect example. I’ve set the min and preferred values on the layout element components to 564 x 196 but when I drag and drop an element to the first position of the list (top), it’s min values become 100 x 100 and stay that way even if I drag and drop it on a different position. I checked the code and component codes but I don’t understand why this is happening.

On 2020.05.22 10:46, @SimonDarksideJ commented:
Just to clarify, are you saying this already happens in one of the existing examples, if so can you provide replication steps please @{5eb464a0ad226b0ba42680f1} ?

On 2020.05.22 11:14, Sina Barlas commented:
No, it happened when I used the existing example as a template for a panel where I placed a reorderable list inside a vertical layout group to have an element stay at the bottom no matter what. I was able to fix the problem somehow but unfortunately I don’t know what is different and can’t replicate the error. If someone ever has the same problem you can reach out and I can provide the file with the panel (the one that works for me).

On 2020.05.22 11:36, @SimonDarksideJ commented:
OK, I’ll try and replicate your scenario and close the issue for now if I can’t