Closed as not planned
Description
Description
Currently, the ‘Button Inside’ and ‘Button Outside’ options in the search block function the same way, with the only difference being the border. We should reconsider the ‘Button Inside’ implementation, as it should place the button inside the input field. However, it is currently still positioned outside. Additionally, if the border is removed from the ‘Button Inside’ option, it becomes identical to the ‘Button Outside’ option.
Step-by-step reproduction instructions
- Create a new post.
- Add the Search block to the post.
- In the Block Toolbar, click on the 'Change Position Button' option.
- From the dropdown, select 'Button Outside'.
- Now, switch to 'Button Inside' from the same dropdown.
- Observe that the only noticeable difference between the two options is a border enclosing the search input and button when 'Button Inside' is selected.
- To remove this border, go to Styles > Border and set the Border value to 0 px.
- Notice that now both the 'Button Inside' and 'Button Outside' options appear almost identical.
Screenshots, screen recording, code snippet
Screen.Recording.2025-02-26.at.11.07.53.AM.mov
Environment info
- WordPress 6.7.2
- Gutenberg 20.3.2
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure