Open
Description
Description
When attempting to move/clone a element from the left list to the right one the click event is lost because the original click event is on the "clone" inside the right list. The expected behavior is that all elements should retain all events on the elements inside.
Environment:
[email protected] /home/projects/vitejs-vite-9v4mkx
+-- @vitejs/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
Browser: Chrome 123.0.6312.106
Repro Case
https://stackblitz.com/edit/vitejs-vite-ilyqms?file=src%2FApp.vue
Steps to Reproduce:
- Grab an element from the left box
- Try to drop it on the right box
- The box will be cloned correctly but the click event in the left box is lost (you can check it by clicking the button and see the number increase with every click)
Expected: The element should be cloned to the right box and all buttons should increase the Trigger Count by +1.
Actual: The element is moving normally but the original element in the left element has lost the @click event from the button
Aufzeichnung.2024-04-08.145456.1.mp4
Metadata
Metadata
Assignees
Labels
No labels