android / android/nowinandroid

[Bug] Wrong list position when navigate back to topic screen in For You tab

Open
#1,780 0 comments 0 reactions 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?

Steps to reproduce:
1. In For You tab, select any topic
2. Select Saved tab
3. Select For You tab again
4. Observe that list was scroll up.

https://github.com/user-attachments/assets/7a8c5da2-1f97-4725-a294-65746e022e60

### 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

Start by reproducing the four listed navigation steps in the For You and Saved tabs and compare the list position before and after returning to For You. Trace the topic-screen navigation and list-state handling; done means returning to For You preserves the prior scroll position instead of scrolling to the top.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.