html { position: relative } breaks scrolling #1114
Labels
bug
Something is not working.
NEEDS: triage
TARGETS: browser compat
This issue affects only specific browsers.
CodeSandbox demo
https://codesandbox.io/s/clever-clarke-lwebh?file=/index.html
Steps to reproduce the problem
html { position: relative }
What is the expected behavior?
When scrolling the tooltip scrolls with the button.
What went wrong?
The tooltip stays in the same position (is moved by popper). Page can be scrolled infinitely.
Any other comments?
html { position: relative }
might not be sensible so I am not sure if this is a bug. But still, the scrolling behaviour seems kind of weird so I am hoping on your input.One workaround is to simply add another container with
position: relative
around the tooltip and button: https://codesandbox.io/s/competent-proskuriakova-703dp?file=/index.htmlThe text was updated successfully, but these errors were encountered: