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

forceReflow sometimes causes a flash of transition on page reload. #899

Open
ScottDowne opened this issue Jan 5, 2024 · 0 comments
Open

Comments

@ScottDowne
Copy link

What is the current behavior?

With side panel transition that is by default closed, on hard refresh of the page it looks to his forceReflow some of the time, and this causes the panel that should be hidden until the user interacts with it, to instead show and quickly transition to the hidden state.

What is the expected behavior?

Ideally this would default to the hidden state and not show a transition on page refresh.

Could you provide a CodeSandbox demo reproducing the bug?

Steps to test and more info in our bug tracker here.

This is used in Firefox's newtab page, so to test open a newtab page in Firefox. If you go there, and do a hard refresh (Shift+home button), or (ctrl+F5) should do the trick. Do the hard refresh a couple of times, and you should see the personalize panel on the right open then close enough of the time.

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

No branches or pull requests

1 participant