Skip to content

Block editor: Keyboard is not always shown when a new block is added #16167

@twstokes

Description

@twstokes

Expected behavior

  • When a block has focus and a blinking cursor the keyboard is shown.
  • After inserting a new block such as a Paragraph or List (step 3 below) the keyboard is shown.

Actual behavior

Sometimes a block added from the Inserter has focus and a blinking cursor, but no keyboard is shown.

Steps to reproduce the behavior

  1. Create a new Blog post.
  2. Tap the default Paragraph block ("Start writing..."). There is a blinking cursor and the system's keyboard appears.
  3. Tap the "+" to open the Inserter and choose a Paragraph or List block (other blocks may be affected as well).
  4. Observe that the keyboard is no longer showing, but the input cursor is blinking inside the block.
Inserter.Keyboard.mp4

At the end of the video I tapped into Area A (see Extra discussion below).

Extra discussion

I initially thought that you couldn't show the keyboard on the block without toggling its focus, but then learned there's a couple hit areas that behave differently. On the Pixel 4a, at least, it felt like I needed to be extra precise to hit Area A and present the keyboard.

Areas

Tested on Pixel 4a, Android 12, WPAndroid 19.5

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions