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

Fix scrolling in MyMedia/NFTDetail #8

Open
elv-stav opened this issue May 29, 2024 · 0 comments
Open

Fix scrolling in MyMedia/NFTDetail #8

elv-stav opened this issue May 29, 2024 · 0 comments

Comments

@elv-stav
Copy link
Collaborator

Scrolling feels a bit random.
It would make more sense to focus the first element in each row the first time that row is focused, and then restore whatever the last item was.

Unfortunately, Compose has a bug that is only fixed in 1.7.0 which is still in beta.
While this bug exists, applying Modifier.focusRestorer{} will cause the app to crash when scrolling rapidly across rows.
When it's fixed, a similar apporach to this can work for those screens

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