Compare commits

...

2 Commits

Author SHA1 Message Date
tnswo561412
7bafa4b617
Merge 530bb1ae1a into 2cc8d2620d 2026-02-27 21:18:37 +11:00
tnswo
530bb1ae1a fix: dismiss keyboard on tap in search page (iOS) 2025-12-10 00:05:56 +09:00
3 changed files with 24 additions and 9 deletions

View File

@ -0,0 +1,11 @@
{
"permissions": {
"allow": [
"Bash(flutter build:*)",
"Bash(curl:*)",
"Bash(/c/tools/nuget.exe help:*)",
"Bash(rustc:*)",
"Bash(ls:*)"
]
}
}

View File

@ -225,6 +225,9 @@ class SearchPage extends HookConsumerWidget {
], ],
), ),
Expanded( Expanded(
child: GestureDetector(
onTap: () => FocusScope.of(context).unfocus(),
behavior: HitTestBehavior.translucent,
child: AnimatedSwitcher( child: AnimatedSwitcher(
duration: const Duration(milliseconds: 300), duration: const Duration(milliseconds: 300),
child: switch (selectedChip.value) { child: switch (selectedChip.value) {
@ -236,6 +239,7 @@ class SearchPage extends HookConsumerWidget {
}, },
), ),
), ),
),
], ],
); );
}), }),

BIN
rustup-init.exe Normal file

Binary file not shown.