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

Have Container *not* show scrollbars by default #2365

Merged
merged 7 commits into from
Apr 24, 2023

Conversation

davep
Copy link
Contributor

@davep davep commented Apr 24, 2023

This PR seeks to satisfy #2361, having Container hide scrollbars by default, encouraging the use of ScrollableContainer (and of course HorizontalScroll and VerticalScroll) when that's a requirement. It also updates HorizontalScroll and VerticalScroll to hide the opposing scrollbar by default.

All affected tests are updated too.

The tutorial has been updated to use ScrollableContainer instead of Container.

NOTE: As reflected by the need to change tests, this is a breaking change (albeit one that likely won't affect too many applications).

@davep davep added enhancement New feature or request Task labels Apr 24, 2023
@davep davep linked an issue Apr 24, 2023 that may be closed by this pull request
@davep davep self-assigned this Apr 24, 2023
@davep davep merged commit 9371b47 into Textualize:main Apr 24, 2023
@davep davep deleted the no-container-scroll branch April 24, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Both Container and ScrollableContainer can scroll
3 participants