android / android/nowinandroid

[Bug]: Scroll jumps up after navigating

Open
#936 7 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
21.8k
Forks
4.6k
Avg merge
19h 20m
Merged PRs (30d)
2

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is there a StackOverflow question about this issue?

- [X] I have searched StackOverflow

### What happened?

After navigating to another page and then hitting back the UI scrolls up a bit.

This only happens when the list is scrolled all the way to the bottom. Any ideas why this happens?

Its on an Samsung S22 Ultra running Android 13.

https://github.com/android/nowinandroid/assets/793881/1f9fe6e1-9b18-49a3-bd59-980624c7d82b

### Relevant logcat output

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on a Samsung S22 Ultra running Android 13 by scrolling a list to the bottom, navigating to another page, and pressing Back. Inspect the navigation and scroll-state handling involved in that flow; done means returning to the list without the UI jumping upward.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.