Skip to content

Spaces are not shown as they are typed in right-aligned inputs #2053

@SylvesterWilmott

Description

@SylvesterWilmott

Describe the bug
When typing into a right-aligned input, spaces are not shown as they are typed. An example of this is in the Image block settings sheet "Alt Text". Although there are some discussions about changing the design of this field in particular (#922) I think this remains a viable fix for any future right-aligned inputs that are used within sheets.

To Reproduce

  1. Open settings sheet for an image in a post
  2. Type a character in the "Alt text" input followed by a space
  3. Notice that the space is not shown
  4. Type another character
  5. Notice that the space now shows

Expected behavior
We also use right-aligned inputs in the site creation flow when entering a site title or tagline. We should match the behaviour of these inputs which displays the spaces as you type them.

Screenshots

example

Tested on iPhone X, iOS 13.3.1, WP 14.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions