File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
command-pallette/CommandPalletteUI Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export function CommandPaletteSearchBar({ slot }: { slot?: string }) {
5050 < Input
5151 accessibleName = "command-palette-search-bar"
5252 onClick = { ( ) => setOpen ( true ) }
53+ onInput = { e => e . preventDefault ( ) }
5354 showClearIcon
5455 className = "search-with-display-more command-palette-search-bar"
5556 icon = { < Icon name = "slim-arrow-right" /> }
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ export function Header() {
177177 onProfileClick = { ( ) => setIsMenuOpen ( true ) }
178178 searchField = { < CommandPaletteSearchBar slot = "searchField" /> }
179179 showSearchField
180+ onSearchButtonClick = { e => e . preventDefault ( ) }
180181 ref = { shellbarRef }
181182 >
182183 { isSnowEnabled && (
You can’t perform that action at this time.
0 commit comments