The content I insert into the scrollable area is dynamic and does not always overflow (meaning scrollbars should actually do nothing, or disappear, but that's not what I'm asking).
Assume I am using vertical scrolling.
So my test case had a panel which was 100px high with a ScrollBar. In that scrollable area was one line of text. Clearly no scrolling is required. However as I scroll down the line of text tweens down to align itself on the bottom of the 100px scrollable area. When I mousewheel up it tweens back up to the top.
There should be a check to test if the scrollable area is smaller than container, n'est-ce pas?
The content I insert into the scrollable area is dynamic and does not always overflow (meaning scrollbars should actually do nothing, or disappear, but that's not what I'm asking).
Assume I am using vertical scrolling.
So my test case had a panel which was 100px high with a ScrollBar. In that scrollable area was one line of text. Clearly no scrolling is required. However as I scroll down the line of text tweens down to align itself on the bottom of the 100px scrollable area. When I mousewheel up it tweens back up to the top.
There should be a check to test if the scrollable area is smaller than container, n'est-ce pas?