Semantic-UI-React: Popup: wrong positioning when `mountNode` uses `position: fixed`
Bug Report
Steps
-add Popup control -set mountNode property
Expected Result
Popup should be renderer in a set node and visually be placed there
Actual Result
Popup is rendered in a set node but visually is NOT placed there
It is placed far away outside
Wrong calculation of transform
css value
Version
0.87.3
In the version 0.86.0 all is ok
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (12 by maintainers)
@layershifter I’ll try it this weekend.
I don’t know if this is the same issue, but I have some issues if the
mountNode
is a Node wich ist styled withposition: fixed;
Here is my excample: https://codesandbox.io/s/semantic-ui-react-example-umbkj
I was having a problem as well with the popup - the position of the popup was showing up over top of my content instead of
center left
where theposition
prop I had set up was telling to go. The popup also didn’t seem to “pop up” at the right time and place in response to the mouse hover. I backed off to 0.86.0 and the problem goes away. Hope this problem can be fixed - affects a lot of my components and UI - assume others would agree.