payloadcms / payloadcms/payload
Tapping on a block inside Lexical on mobile triggers scroll up
@GermanJablo is already working on this.
Since Feb 14, 2026.
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Description
Describe the Bug.
Tapping on a block inside lexical, e.g. on a post in the default website template, on mobile triggers an automatic scroll up on the page. The block that has just been tapped on scrolls out of view. It's very disorienting.
The expected behaviour would be that no scroll up occurs and the block stays in view.
The scroll up does not happen when tapping into richt text.
I also think it's unnecessary and disorienting that a tap on a block (to make it expand or collapse) assumes I want to go into editing mode. I don't. I just want to take a look at the extended block or collapse it again. I guess currently every tap into Lexical's editing window assumes that I want to go into editing mode.
Reproduction Steps
- Install default website template
- Edit a post in the admin UI on mobile
- Tap on a block inside Lexical, preferably one that's further down the page (otherwise the scroll up might not be that noticeable)
Environment Info
payload: 3.73.0
Node: 25.3.0
next: 15.4.10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.