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

Planes only update after window resize #15

Open
nickoelsner opened this issue Oct 27, 2022 · 1 comment
Open

Planes only update after window resize #15

nickoelsner opened this issue Oct 27, 2022 · 1 comment

Comments

@nickoelsner
Copy link

Hi, I think I'm having a problem similar to issue #8, where the planes are not loading into the correct positions until there is a window resize. You mentioned in a comment that it was likely a CSS issue, "the curtains container CSS is loaded after the canvas has been appended."

What is your recommended fix for this?

Codesandbox: https://codesandbox.io/s/curtainsjs-experiment-ic51k4?file=/src/App.js

@martinkosmela
Copy link

Hi @noelsner, did you find any solution for this problem and would like to share it?

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