textual icon indicating copy to clipboard operation
textual copied to clipboard

Add scroll_visible method for focused children

Open willmcgugan opened this issue 3 years ago • 1 comments

We need a scroll_visible (or better name) method that scrolls a widget in to view.

This should be called when a widget receives focus so that tab-to-focus doesn't something that is not currently visible.

There should be an animate on the method so we can chose to animate it or note.

willmcgugan avatar May 05 '22 09:05 willmcgugan

Would we automatically handle this recursively, so that all the Widget's parents (not only its 1st level parent) scroll too if necessary?

olivierphi avatar May 11 '22 10:05 olivierphi

https://github.com/Textualize/textual/wiki/Sorry-we-closed-your-issue

willmcgugan avatar Oct 25 '22 09:10 willmcgugan

Did we solve your problem?

Glad we could help!

github-actions[bot] avatar Oct 25 '22 09:10 github-actions[bot]