onlook icon indicating copy to clipboard operation
onlook copied to clipboard

[bug] Duplicated Elements not Deleting

Open drfarrell opened this issue 11 months ago • 2 comments

Describe the bug

When the user uses the CMD+G grouping hotkey, a red outline of one of the elements remains on the page. The Data Onlook ID is not refreshed

image

https://github.com/user-attachments/assets/72fc9b19-d741-421e-9bca-d1eb8c06fce9

drfarrell avatar Dec 20 '24 23:12 drfarrell

Red outlines also linger after elements are deleted

image

drfarrell avatar Dec 20 '24 23:12 drfarrell

Fascinatingly, it appears elements aren't actually getting deleted in code. When refreshing the page, elements are removed from the DOM, but not code if they are duplicates of an existing element.

https://github.com/user-attachments/assets/c636f0fb-014b-4280-84c7-ec5e8c0935f7

drfarrell avatar Dec 20 '24 23:12 drfarrell