-
Notifications
You must be signed in to change notification settings - Fork 166
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
CSS will-change
causing position problems
#46
Comments
I've also overridden The MDN documentation warns against applying will-change indiscriminately. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, thanks for the great tiny module.
There is a small problem in case there are elements with
position: fixed
inside the virtualized list (container) which is settingswill-change: transform
. According to the 2 links below the elements withposition: fixed
will become relative to the element with the transform - not relative to the viewport, in this case to the virtualized container.I am not sure what is the purpose of
will-change: transform
style. But for now I overwrote the style by settingwill-change: unset
The below links I wrote above:
(Stackoverflow) CSS: position:fixed inside of position:absolute
W3C transform-rendering
The text was updated successfully, but these errors were encountered: