Tooltips/popovers (floating elements) width max-width
break if there is a scrollbar for vertical scrolling
#754
Labels
max-width
break if there is a scrollbar for vertical scrolling
#754
The problem is that the floating elements have
max-width: calc(100vw - 16px)
(because it has 8px padding on each side to the viewport edge). Problem is thatvw
is broken when there is a scroll bar: they still refer to the whole width without scrollbar. Thus, the floating element overflows the actual viewport. And funnily, because of JS stuff, you can then scroll to the right till forever, since the JS code always moves the floating element to the right as well.The text was updated successfully, but these errors were encountered: