Search Block: Opening/closing the input field action change the height when "Button only" style #53297
Labels
[Block] Search
Affects the Search Block - used to display a search field
[Type] Bug
An existing feature does not function as intended
Description
When the Search block is Button only style, the input field is not displayed, but is made visible by clicking the button, and hides when it loses focus.
If a button has multiple words, the button text will unintentionally wrap when the input field is displayed.
As a result, the height of the block will fluctuate when the input field is opened and closed.
I believe that unless the user explicitly breaks the button text, the text should not wrap.
Step-by-step reproduction instructions
Search for posts
)Screenshots, screen recording, code snippet
02a3999fd8f880c35132bab3e0356c33.mp4
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
The text was updated successfully, but these errors were encountered: