Skip to content

Commit

Permalink
fix: do not show search box on selection (#1167)
Browse files Browse the repository at this point in the history
* fix: do not show search box on selection

* fix: search box should be hidden on selection deactivated
  • Loading branch information
quanho committed Mar 21, 2023
1 parent 26e242a commit b7d38ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apis/nucleus/src/components/listbox/ListBoxInline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ function ListBoxInline({ options, layout }) {
useEffect(() => {
const show = () => {
setShowToolbar(true);
if (search === 'toggle' && toolbar === false) {
setShowSearch(true);
}
};
const hide = () => {
setShowToolbar(false);
Expand Down

0 comments on commit b7d38ce

Please sign in to comment.