Popper is not correctly placed
See original GitHub issueCodeSandbox demo
https://codesandbox.io/s/elated-sid-sgwqg ( refresh codesandbox embedded browser )
Steps to reproduce the problem
No steps required, popper is not correctly placed
What is the expected behavior?
Popper should be correctly placed
What went wrong?
Looks like in flex box container, if element before has some non integer width ( as in this example using content editable aaas
has width of 27.531
) popperjs fails to correctly place the popper
Any other comments?
Looks like it’s connected with #713
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Popper element is not positioned correctly when reference ...
Popper element is not positioned correctly when reference elements is in an offset iframe #791. Bug. DIFFICULTY: medium PRIORITY: medium TARGETS: core.
Read more >Popper.js wrong initial position of dropdown/tooltip
js needs the popper element to be rendered in the DOM (aka, have a position in the document) to be able to properly...
Read more >FAQ - Popper
Why is my popper in the wrong location (or not visible at all)? For the left and top placements, Popper relies on HTML...
Read more >Everything I Know About Positioning Poppers (Tooltips ...
If the popper is not positioned relative to the viewport, we need to consider its offsetParent when measuring the reference element.
Read more >How to Build a Dynamically Positioned Popover with Popper ...
The popper.js library is a powerful positioning engine for tooltips and popovers ... You will not be “resubscribed” or receive extra emails.
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
Thinking on it, why we need the rounding at all ? Looking on modern browser all would handle it 🤔 Maybe given option to opt out from rounding would be not that bad idea? WDYT?
Example of those inaccuracies in chrome/edge between position
left/top
vstranslate3d/translate
what i was writing above https://codesandbox.io/s/cool-chandrasekhar-mcbp1