Focus is restored to incorrect row/column
Open
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
### Steps to Reproduce:
1. Navigate through LazyColumn
2. Select the n element
3. Once the detail is opened, navigate back
4. Notice the n-1 element is focused
https://github.com/user-attachments/assets/d1213891-dcd2-4b3d-b329-40f5380ac3a3
https://issuetracker.google.com/issues/437178801
Contributor guide
Research direction
Start by locating the sample screen that uses LazyColumn and reproduce the navigation sequence described in the issue. Trace focus restoration when returning from the detail view, using the linked issue tracker report for additional context. Done means the selected nth item, rather than the n-1 item, is focused after navigating back.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100