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

SSR initial load does not include styles for controls #1051

Closed
mikebarkmin opened this issue Mar 31, 2021 · 2 comments
Closed

SSR initial load does not include styles for controls #1051

mikebarkmin opened this issue Mar 31, 2021 · 2 comments

Comments

@mikebarkmin
Copy link

The initial load of a server side renderer page with react-flow-renderer on it does not load the styles for the controls. It happens on your documentation (gatsby):
reactflowcontrols

And on my website (nextjs):
bitflowcontrols

I am not sure what is coursing it, maybe some of you have an idea?

@moklick
Copy link
Member

moklick commented Mar 31, 2021

We addressed this issue before.. which version are you using? The problem is that the icons are rendered without styles and the have a bigger size. Maybe we should not display them at all when no styles are loaded.

@mikebarkmin
Copy link
Author

9.4.2. I now switched to not rendering the controls on ssr.

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

2 participants