Fix scrollbar visibility when contentWidth or contentHeight is 0
If there's a vertical scrollbar and content height is 0, there's nothing to scroll, so hide the scrollbar in that case.
Please register or sign in to comment
If there's a vertical scrollbar and content height is 0, there's nothing to scroll, so hide the scrollbar in that case.