payloadcms / payloadcms/payload

Tapping on a block inside Lexical on mobile triggers scroll up

Open
#15,631 1 comment 0 reactions 1 assignee View on GitHub

@GermanJablo is already working on this.

Since Feb 14, 2026.

area: ui Bug
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.

Image

Reproduction Steps
  1. Install default website template
  2. Edit a post in the admin UI on mobile
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.