onlook-dev / onlook

The open source, local-first Figma for React. Design directly in your live React app and publish your changes to code.
https://onlook.dev
Apache License 2.0
3.75k stars 233 forks source link

[bug] When an item is deleted, the outline persists #732

Closed drfarrell closed 2 weeks ago

drfarrell commented 2 weeks ago

Expected behavior is that when an item is deleted, the outline is removed as well.

Export-1730758588493

This also occurs in AI when an element that was selected for prompting changes location after the code is updated – the outline persists in the old location when the element is moved to a different part of the page.