If a div is set as overflow:auto, how can I find out (using plain JS) if a scrollbar (Vertical / Horizontal) has been rendered?
overflow:auto
Check if clientHeight is smaller than scrollHeight.
2.1m questions
2.1m answers
60 comments
56.9k users