Skip to content

[bug] Element does not refresh after color is deleted from color panel #1789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spartan-uyen opened this issue Apr 16, 2025 · 3 comments · May be fixed by onlook-dev/desktop#9
Open

[bug] Element does not refresh after color is deleted from color panel #1789

spartan-uyen opened this issue Apr 16, 2025 · 3 comments · May be fixed by onlook-dev/desktop#9
Labels
bug Something isn't working

Comments

@spartan-uyen
Copy link

Summary: When a color is applied to an element and later deleted from the color panel, the element still displays the old color instead of updating or reverting.

Steps to Reproduce:

  1. Apply a custom color from the color panel to an element (e.g., a button or text).
  2. Go to the color panel and delete that custom color.
  3. Observe the styled element on the canvas.

Actual Result:
The element still visually displays the deleted color.
There is no refresh or update to reflect that the color no longer exists.

Expected Result:
The element should either revert to the default color or visually update to reflect that the assigned color no longer exists.

@spartan-uyen spartan-uyen added the bug Something isn't working label Apr 16, 2025
@SoloDevAbu
Copy link
Contributor

I have added a custom color from the brand panel, then applied the custom color to a text and then deleted the color from the brand panel. now still the deleted color shows.
Is it same with your issue?
The clarification would help me to solve the actual issue

@spartan-uyen
Copy link
Author

Hey, thanks for checking.
This is exactly the issue I encountered.

@SoloDevAbu
Copy link
Contributor

hi @spartan-uyen please checkout the pr #1815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants