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

Resizing renderer canvas - problem after routing. #169

Open
jojco opened this issue Oct 27, 2022 · 0 comments
Open

Resizing renderer canvas - problem after routing. #169

jojco opened this issue Oct 27, 2022 · 0 comments

Comments

@jojco
Copy link

jojco commented Oct 27, 2022

I have problem with resizing renderer canvas (:rendering="true" not window) after routing change. If I refresh page manually, everything works fine, but If I use native router event to change page - after that canvas has "height: 0, width: 0" and I must manually resize window to get correct values and show renderer. After that everything like dynamically resizing element works. If i set rendering to rendering=window, everything works as well but I need to have this renderer in the resizing element in our page.
Do anyone solved similar problem ?

Thanks.

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