Skip to content

[RNMobile] [iOS] Editor jumps when inserting a new block #40029

@twstokes

Description

@twstokes

Description

When pressing return to insert a new block, the editor jumps to a higher position and then scrolls down.

As pointed out by @fluiddot, this may be connected to the React Native v0.66.2 upgrade that took place in WPiOS 19.0.

Step-by-step reproduction instructions

  1. Download WPiOS with a version greater than or equal to 19.0
  2. Create a new Post to open the block editor
  3. Insert consecutive blocks by pressing "return" on the keyboard
  4. Observe that once the block inserted is lower than the original vertical space, the view will jump to the top and then scroll down. (see video)

Expected behaviour

The view does not jump to the top. The view smoothly scrolls downward to the new block from the current block.

Actual behaviour

The view jumps to the top and then scrolls down to the new block.

18.9.0.4 19.0.0.5
18.9.0.4.Not.hopping.MP4
19.0.0.5.Hopping.MP4

WordPress information

  • WordPress version: 5.9.2
  • Gutenberg version: 11.9
  • Are all plugins except Gutenberg deactivated? No
  • Are you using a default theme (e.g. Twenty Twenty-One)? Twenty Twenty-One

Device information

  • Device: iPhone 12 Pro
  • Operating system: iOS 15.4.1
  • WordPress app version: WPiOS 19.0 [and greater]

Metadata

Metadata

Assignees

Labels

Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions