onlook
onlook copied to clipboard
fix: messed up layer tree when copy/group/ungroup nested element
Description
- When user copy and paste nested elements, it makes the layer tree messed up sometimes
- Root-cause: Does not provide a fresh element for children in
Related Issues
- fixes #994
Type of Change
- [x] Bug fix
- [ ] New feature
- [ ] Documentation update
- [ ] Release
- [ ] Other (please describe):
Testing
https://github.com/user-attachments/assets/0ca4e216-ab66-4e64-a0a6-cadcb6f7072f