feat: add search clear functionality and improve search input styling

This commit is contained in:
shuaiplus
2026-03-28 01:58:47 +08:00
parent 783fcbbe4b
commit bd8e26d2ab
4 changed files with 91 additions and 17 deletions
+1
View File
@@ -828,6 +828,7 @@ function folderName(id: string | null | undefined): string {
sortMenuRef={sortMenuRef}
listPanelRef={listPanelRef}
onSearchInput={setSearchInput}
onClearSearch={() => setSearchInput('')}
onSearchCompositionStart={() => setSearchComposing(true)}
onSearchCompositionEnd={(value) => {
setSearchComposing(false);