This likely has to do with the issue addressed here: CSS overflow-x: visible; and overflow-y: hidden; causing scrollbar issue
In short, when using visible for either overflow-x or overflow-y and something other than visible for the other, the visible value is interpreted as auto.
visible
overflow-x
overflow-y
auto
2.1m questions
2.1m answers
60 comments
57.0k users