Tapping checkbox in .md file switches focus to top of page (or previous cursor position)
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
1. Create a .md file with a long "to do list" (check boxes). The list should be long enough that you need to scroll through multiple screen views to reach the end of it. Close the .md file you just created.
2. Reopen the .md file
3. Scroll to end of page
4. Tap on a check box (to toggle it)
5. Scroll back down the page
6. Tap on another checkbox
### Expected behaviour
The current check box should remain onscreen. If the cursor must appear, then it should appear next to the current checkbox.
### Actual behaviour
The cursor appears on the first line of the document after step 4. The document scrolls back to the top of the page (hiding the checkbox you just tapped on). The onscreen keyboard appears. When you check another box, the document scrolls back to the old cursor position (at the top of the page).
The document scrolling away from where you are editing is disorienting and unhelpful.
### Android version
12
### Device brand and model
Samsung S10
### Stock or custom OS?
Stock
### Nextcloud android app version
3.21.0
### Nextcloud server version
24.0.4
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.