Skip to content

Dropdown active option indicator misaligned #52001

@dcalhoun

Description

@dcalhoun

Description

The indicator for the currently selected option within a dropdown menu is misaligned.

This appears to have been introduced in the 22.5 release via #50665 or #50907.

Step-by-step reproduction instructions

  1. Add a Heading block1.
  2. Tap the "Change level" button (an H2 icon) to open the heading level dropdown menu.

Expected behaviour

The check mark indicating the selected option is flush to the right.

Actual behaviour

The check mark indicating the selected option is slightly to the right of center.

Screenshots or screen recording (optional)

Correct (22.4) Incorrect (22.5)
alignment-correct alignment-incorrect

WordPress information

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

Device information

  • Device: iPhone 13 mini
  • Operating system: iOS 16.5.1
  • WordPress app version: 22.5

Footnotes

  1. Reproducing via heading level may not be possible due to https://github.com/WordPress/gutenberg/issues/51996, but this can be reproduced via block or text alignment dropdown menus as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueAn issue that's suitable for someone looking to contribute for the first timeMobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] RegressionRelated to a regression in the latest release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions