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

Allow by-code scrolling even when by-input scrolling would be denied #1550

Merged
merged 10 commits into from
Jan 16, 2023

Conversation

davep
Copy link
Contributor

@davep davep commented Jan 12, 2023

See #1201.

See
#1201 (comment) though.

See Textualize#1201.

See
Textualize#1201 (comment)
though -- there has been internal discussion about how there may be a need
to even inhibit by-code scrolling (as opposed to by-input) scrolling, in
some situations. This would likely require that there's something
higher-level, perhaps, that doesn't even attempt to animate `scroll_x` or
`scroll_y` in the first place.

Consider this a placeholder approach for the moment.
@davep davep linked an issue Jan 12, 2023 that may be closed by this pull request
@davep davep added enhancement New feature or request Task labels Jan 12, 2023
@davep davep requested review from darrenburns, willmcgugan and rodrigogiraoserrao and removed request for darrenburns and willmcgugan January 12, 2023 13:49
@davep davep marked this pull request as ready for review January 12, 2023 13:49
@davep davep self-assigned this Jan 12, 2023
src/textual/widget.py Outdated Show resolved Hide resolved
@davep
Copy link
Contributor Author

davep commented Jan 12, 2023

Doh! Good catch on the spaces. I'll tweak them in one go.

@willmcgugan willmcgugan merged commit fb1bd6a into Textualize:main Jan 16, 2023
@davep davep deleted the issue/1201/scroll-to-with-code branch January 25, 2023 15:14
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.

Programatic scrolling should work without scrollbars (overflow hidden).
3 participants