WordPress/gutenberg

Dropdown active option indicator misaligned

クローズ

#52,001 opened on 2023/06/28

 (7 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (3,893 件のフォーク)batch import
Good First IssueMobile App - i.e. Android or iOS[Priority] Low[Type] Regression

Repository metrics

Stars
 (9,607 個のスター)
PR merge metrics
 (平均マージ 12d 18h) (30d で 509 merged PRs)

説明

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 https://github.com/WordPress/gutenberg/pull/50665 or https://github.com/WordPress/gutenberg/pull/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.

コントリビューターガイド