Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search block can't change appearance if inside navigation block #51713

Closed
tomxygen opened this issue Jun 20, 2023 · 3 comments · Fixed by #52558
Closed

Search block can't change appearance if inside navigation block #51713

tomxygen opened this issue Jun 20, 2023 · 3 comments · Fixed by #52558
Assignees
Labels
[Block] Navigation Affects the Navigation Block [Block] Search Affects the Search Block - used to display a search field [Type] Bug An existing feature does not function as intended

Comments

@tomxygen
Copy link

tomxygen commented Jun 20, 2023

Description

It's not possible to change the appearance of the search button if it is placed inside the navigation block.

Step-by-step reproduction instructions

  1. open the Site editor
  2. Go to Pages > Home
  3. Edit the header and add navigation block
  4. inside the navigation block, place a search block
  5. Try to edit the appearance, like setting it as a button only.
    The edit will not be applied and will be reverted to the original settings.

If instead of editing it from Pages > Home, you go to Library > Header, the issue isn't there.

Screenshots, screen recording, code snippet

See attached video.

videowp.mov

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@t-hamano
Copy link
Contributor

Thanks for the report.

I was able to reproduce this problem with Twenty Twenty theme and the latest Gutenberg trunk.

e51ded3cbb5641d5e2c41b2dfab1e0f6.mp4
@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended [Block] Navigation Affects the Navigation Block [Block] Search Affects the Search Block - used to display a search field labels Jun 24, 2023
@ndiego
Copy link
Member

ndiego commented Jun 26, 2023

I was also able to confirm, but I wanted to note that this issue also seems to appear in 6.2.

@annezazu
Copy link
Contributor

cc @scruffian as a heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Block] Search Affects the Search Block - used to display a search field [Type] Bug An existing feature does not function as intended
6 participants