[Safari/Firefox] Popper is not positioned correctly through shadow-dom when parent is position: relative
See original GitHub issueWhen using @popperjs/core
the popper is not positioned correctly if it is within the shadow-dom of a position: relative
parent.
This issue seems to only be prevalent in the latest Chrome version 102.
In the picture below the top has a relative parent in the light-dom while the bottom is shadow-dom.
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:5
Top Results From Across the Web
How do you position Material UI Popper in the bottom right ...
I was trying to do that with the Popper component, but I'm not sure how. This is what I have now. <Popper open={anchor...
Read more >Team:PYMS GZ China/JS popper - iGEM 2020
Finds the root node (document, shadowDOM root) of the given element ... be relative to this) * @param {Element} fixedPosition - is in...
Read more >https://www.ferris.edu/forms/js/popper.min.js.map
firstElementChild) === element\n );\n}\n","/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.
Read more >popper.js - Bountysource
When using @popperjs/core the popper is not positioned correctly if it is within the shadow-dom of a position: relative parent.
Read more >client/node_modules/.cache/babel-loader ... - gitlab@IfI
offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent ... shadowDOM root) of the given element\n * @method\n...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apparently this is the chromium issue related with this bug : Issue 1330819: Web component hover is no longer working
This seems like a bug in Chrome?
tooltip.offsetParent
is incorrectly returningbody
, not its actualoffsetParent
(the relative div)