Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollable even when content doesn't overflow #8

Open
paulschwarz opened this issue Aug 5, 2011 · 1 comment
Open

Scrollable even when content doesn't overflow #8

paulschwarz opened this issue Aug 5, 2011 · 1 comment

Comments

@paulschwarz
Copy link

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?

@eerne
Copy link
Owner

eerne commented Aug 5, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants