Skip to content

Is there a prop to hide the search bar? #1708

Discussion options

You must be logged in to vote

This is a side effect of the not so great focus system currently in place. The open/closed state is determined by focus on the search input. So the search input needs to exists in order to open the component. In v4 this will be changed and the out div will be the focusable element. You can solve the issue with CSS in your application, but it's a pain.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@123survesh
Comment options

Answer selected by 123survesh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants