Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

ScrollView initial scroll before mount #4723

Closed
kdkavanagh opened this issue Jul 11, 2024 · 0 comments
Closed

ScrollView initial scroll before mount #4723

kdkavanagh opened this issue Jul 11, 2024 · 0 comments

Comments

@kdkavanagh
Copy link

Is there a mechanism to set the initial X/Y for a ScrollView before the widget is mounted? Currently I'm using obj.scroll_to() after await self.mount(obj), which works, but ends up flashing the un-scrolled view first before scrolling

Calling scroll_to before mounting seems to have no effect

@Textualize Textualize deleted a comment from github-actions bot Jul 11, 2024
@Textualize Textualize locked and limited conversation to collaborators Jul 11, 2024
@darrenburns darrenburns converted this issue into discussion #4725 Jul 11, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant