Skip to content
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

When a color attribute assigned to background is mounted for the first time it can never be unmounted #214

Open
itsdouges opened this issue Aug 19, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@itsdouges
Copy link
Collaborator

Take this code:

export function Component() {
  return <><color args={["white"]} attach="background" /></>
}

When switching to another component the background is never unset. This only happens if the initial component opened sets background, it doesn't happen the other way e.g. opening another component then opening this one. When doing that and switching back the bg is, as expected, cleaned up.

@itsdouges itsdouges added the Bug Something isn't working label Aug 19, 2024
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
Development

No branches or pull requests

1 participant