utopia icon indicating copy to clipboard operation
utopia copied to clipboard

Reordering in the navigator is broken

Open maltenuhn opened this issue 3 years ago • 2 comments

STR

  1. Select Card, a div into it
  2. Select that div, duplicate it four times
  3. Drag in the navigator to re-order

Expected: can achieve any ordering Observed: reordered element seems to always be moved to the "top"

https://user-images.githubusercontent.com/2945037/126565130-dba18e84-010d-459b-a386-603c69fab5aa.mp4

maltenuhn avatar Jul 21 '21 21:07 maltenuhn

the fact that these items are called Element means that the spying broke down for them – can you share the project link? I suspect there's some bigger underlying issue that also breaks reorder

balazsbajorics avatar Jul 21 '21 21:07 balazsbajorics

@balazsbajorics unfortunately it's a local project, and I don't have a code editor since I can't compile it. However, since you mentioned the spy: I suspect it's because Card doesn't render its children. Not ideal that it doesn't allow for re-ordering though...

maltenuhn avatar Jul 21 '21 21:07 maltenuhn