We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After resizing the window, "el.getBoundingClientRect().top" gives a different value, so the parallax div has a wrong position after resize.
Does the applied transform affect getBoundingClientRect()? I was looking into getting the value without transform:
The text was updated successfully, but these errors were encountered:
I fixed this by forcing the browser to fire the resize event:
window.dispatchEvent(new Event('resize'));
This is a workaround and it would be better if it gets fixed in the plugin. Or am I missing some setting?
Sorry, something went wrong.
Glad you found a workaround. Any quick thoughts how this can be updated in the library?
robinbonnes
No branches or pull requests
After resizing the window, "el.getBoundingClientRect().top" gives a different value, so the parallax div has a wrong position after resize.
Does the applied transform affect getBoundingClientRect()? I was looking into getting the value without transform:
The text was updated successfully, but these errors were encountered: