scrollbar icon indicating copy to clipboard operation
scrollbar copied to clipboard

Scrollable even when content doesn't overflow

Open paulschwarz opened this issue 14 years ago • 1 comments

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?

paulschwarz avatar Aug 05 '11 05:08 paulschwarz

Hm ok, yes I think it probably would be a good idea to have some check if the scrollable area is smaller than container.

eerne avatar Aug 05 '11 07:08 eerne