You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug A clear and concise description of what the bug is.
Floating element with flip middleware flickers while resizing the window / flips continuously to the opposite site for the width of the appearing scrollbar when it overflows the viewport. By overflowing of the right boundary a vertical scrollbar is being automatically triggered due to width: 100vw and height: 100vh on any element.
Slowly move the editor sash to reduce embedded window size
As soon as the floating element begins to overflow, it starts to flip from right to left and vice versa until the appearing/disappearing scrollbar does not affect floating-uis logic for "bestFit"
When you stop resizing in the described area, it happens that the flipping continues infinitely.
Expected behavior A clear and concise description of what you expected to
happen.
Floating element should not flip, if it would trigger an overflow
Screenshots If applicable, add screenshots to help explain your problem.
Context:
OS: Windows
Browser: Chrome 123.0.6312.59, Firefox 124.0
The text was updated successfully, but these errors were encountered:
Describe the bug A clear and concise description of what the bug is.
Floating element with flip middleware flickers while resizing the window / flips continuously to the opposite site for the width of the appearing scrollbar when it overflows the viewport. By overflowing of the right boundary a vertical scrollbar is being automatically triggered due to width: 100vw and height: 100vh on any element.
To Reproduce
https://codesandbox.io/p/sandbox/ecstatic-kowalevski-n5wrdc?file=%2Fsrc%2Findex.js
Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to
happen.
Floating element should not flip, if it would trigger an overflow
Screenshots If applicable, add screenshots to help explain your problem.
Context:
The text was updated successfully, but these errors were encountered: