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

[QUESTION] Please ensure that the container has a non-static position... #2880

Open
msev opened this issue Nov 14, 2024 · 2 comments
Open

[QUESTION] Please ensure that the container has a non-static position... #2880

msev opened this issue Nov 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@msev
Copy link

msev commented Nov 14, 2024

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!

@msev msev added the bug Something isn't working label Nov 14, 2024
@mattgperry
Copy link
Collaborator

Could you spin this up in a codesandbox? It helps me investigate and write a test against it

@msev
Copy link
Author

msev commented Nov 14, 2024

Here is the link: https://codesandbox.io/p/sandbox/95ttr2

Thanks @mattgperry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants