Skip to content

Search Block: Button options needs indicator which option is active.  #27330

@bph

Description

@bph

Customizing the Search block button option, it highlights the top option although the bottom option is the active one.
In the screenshot you see that the Button Only option is shown in the preview, but in the drop-down the "no button" option is highlighted. I am utterly confused

There are actually two indicators one is the frame around the top option and the active option is blue.

To reproduce
Steps to reproduce the behavior:

  1. Add a Search Block
  2. Use the button option to select any option
  3. Use the button option drop-down again.
  4. No indicator which option is active.

Screen Shot 2020-11-27 at 9 36 37 AM

Alternative solution would be to use a checkmark next to the active option. it has been used in other occasion and it makes it obvious. Example: Paragraph Text size drop down.
Screen Shot 2020-11-27 at 9 56 58 AM

Editor version (please complete the following information):

  • WordPress version: WordPress 5.6-RC1-49694

Desktop (please complete the following information):

  • OS: macOS 10.15.7
  • Browser Chrome
  • Version 87.0.4280.67

Metadata

Metadata

Assignees

Labels

Needs Design FeedbackNeeds general design feedback.[Block] SearchAffects the Search Block - used to display a search field[Status] In ProgressTracking issues with work in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions