Inserter: Inserting a block on a long post fails to scroll to the new block #40690
Labels
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Bug
An existing feature does not function as intended
Description
When inserting a block to the end of a long post the editor fails to auto scroll to the newly inserted block.
In some cases the auto scroll enables after manually scrolling the post for a few pixels. This can be noticed when inserting a paragraph block. In this case however the keyboard flickers open and closed. In other cases the block menu will open after manually scrolling but the editor fails to auto scroll to the new block. This can be reproduced with image blocks for example. Blocks that do not open a bottom sheet or the keyboard by default do not seem auto scroll after manually scrolling. The separator block exemplifies this behavior.
This behavior only happens on Android.
Step-by-step reproduction instructions
Expected behaviour
The editor scrolls to the newly inserted block
Actual behaviour
The editor fails to scroll to the newly inserted block. In some cases manually scrolling after inserting triggers the expected animations for the given block e.g. opening the bottom sheet block settings or keyboard.
Screenshots or screen recording (optional)
Untitled.mp4
Device information
The text was updated successfully, but these errors were encountered: