File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -315,13 +315,13 @@ function MobileNav({initialTag}: {initialTag?: string}) {
315315 < MobileTabPanel key = { library . id } id = { library . id } >
316316 < Autocomplete
317317 key = { isTypographySelected ? 'typography' : 'default' }
318+ inputValue = { searchValue }
319+ onInputChange = { handleSearchChange }
318320 filter = { showIcons ? iconFilter : undefined }
319321 disableVirtualFocus = { isTypographySelected } >
320322 < div className = { stickySearchContainer } >
321323 < SearchField
322324 aria-label = "Search"
323- value = { searchValue }
324- onChange = { handleSearchChange }
325325 onFocus = { handleSearchFocus }
326326 onBlur = { handleSearchBlur }
327327 placeholder = { placeholderText }
@@ -403,4 +403,3 @@ function MobileNav({initialTag}: {initialTag?: string}) {
403403 </ div >
404404 ) ;
405405}
406-
Original file line number Diff line number Diff line change @@ -163,13 +163,13 @@ export function SearchMenu(props: SearchMenuProps) {
163163 < TabPanel key = { tab . id } id = { tab . id } >
164164 < Autocomplete
165165 key = { selectedTagId === 'typography' ? 'typography' : 'default' }
166+ inputValue = { searchValue }
167+ onInputChange = { setSearchValue }
166168 filter = { isIconsSelected ? iconFilter : undefined }
167169 disableVirtualFocus = { selectedTagId === 'typography' } >
168170 < div className = { style ( { display : 'flex' , flexDirection : 'column' , height : 'full' } ) } >
169171 < div className = { style ( { flexShrink : 0 , marginStart : 16 , marginEnd : 64 } ) } >
170172 < SearchField
171- value = { searchValue }
172- onChange = { setSearchValue }
173173 ref = { searchRef }
174174 size = "L"
175175 aria-label = { `Search ${ tab . label } ` }
You can’t perform that action at this time.
0 commit comments