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

mitigate blinking css due to utopia bug #18

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

balazsbajorics
Copy link
Contributor

We have a bug in utopia which leads to the remix scene remounting during an interaction. After the remount happens, if we are in an active interaction session, only the interacted-with elements are allowed to re-render, which means we don't rerender the remix roots, which means this CSS has no chance to mount itself back to the canvas.

The mitigation is to also import the css in storyboard.js which doesn't have the remount bug. This fully stops the blinking from happening.

The remount is still happening and the utopia bug must be fixed, but in the interim, at least we can continue using the demo project.

@balazsbajorics balazsbajorics merged commit caf8cd0 into main Oct 16, 2024
1 check failed
@balazsbajorics balazsbajorics deleted the fix/blinking-css branch October 16, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants