Open cory-glooh opened 10 months ago
Thanks for the issue @cory-glooh ! This issue seems abit tricky.. whereby the list-move
class were not added during the transition. Could be some DOM update overwriting the instance where Vue apply the transition class.
Yo @cory-glooh .. Realised that is the pointerEvent
assigned to body
was causing the transition to break.
You can try <ContextMenuRoot :modal="false">
and it should now transition smoothly.
However that will now allow user to click the content outside of the ContextMenu
.
Environment
Link to minimal reproduction
https://codesandbox.io/p/devbox/radix-vue-tabs-forked-kr8yvk
Steps to reproduce
Right click the items and remove, compare it to pressing the red X
Describe the bug
When you trigger the remove event from inside the context of a modal, the items below won't transition up. selecting the red X button, they do. (outside the modal).
Expected behavior
Animation/transitions should work as expected.
Context & Screenshots (if applicable)
No response