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

Long widget scroll in ScrollablePane #1906

Open
jupiterbjy opened this issue Aug 10, 2024 · 0 comments
Open

Long widget scroll in ScrollablePane #1906

jupiterbjy opened this issue Aug 10, 2024 · 0 comments

Comments

@jupiterbjy
Copy link

jupiterbjy commented Aug 10, 2024

Currently ScrollablePane is seemingly only designed for the widget-unit scrolling, hence if widget doesn't fit in screen we're screwed.

In that case as soon as it goes beyond screen autoscrolling stops and no matter what we do on vertical_scroll it does nothing.

Animation 8

I wonder if there's way to wrap ScrollablePane in BufferControl so I can scroll it line by line, or just adding line-by-line scroll in ScrollablePane is solution. In that context could be related to #1861


So far half-broken workaround seems to be:

  • Using dummy widget at bottom of long widget so scroll follows it as widget grows, but then still can't scroll up line by line.

  • Using widget's .control.move_cursor_down() - scroll still stops

  • Using widget's .buffer.cursor_down() - scroll still stops

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

1 participant