[QUESTION] Please ensure that the container has a non-static position...
msev opened this issue · 2 comments
msev commented
Hi @mattgperry
I have the following message in the console :
Please ensure that the container has a non-static position, like 'relative', 'fixed', or 'absolute' to ensure scroll offset is calculated correctly.
The container
is thehtml
element, is this also true for this element, or can I ignore the warning?
Thanks!
mattgperry commented
Could you spin this up in a codesandbox? It helps me investigate and write a test against it
msev commented
Here is the link: https://codesandbox.io/p/sandbox/95ttr2
Thanks @mattgperry