about summary refs log tree commit diff
path: root/src/components/forms
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-12 22:48:29 +0000
committerGitHub <noreply@github.com>2025-02-12 22:48:29 +0000
commitb37199a5a02e9957d3f564035004a39190c91a62 (patch)
treec6768f0d60b097898760d367847c522a3587861b /src/components/forms
parent1a3ecdf6ecb411f7bf0e1a360f0c57d3b3d65f48 (diff)
downloadvoidsky-b37199a5a02e9957d3f564035004a39190c91a62.tar.zst
Improved search page (#7590)
* search input revamp

* fix web

* rm "useThemeNew"

* fix overlap during transition

* animate header properly

* reduce gap

* animate cancel button in

* don't move search bar when focused

* remove cancel button animation
Diffstat (limited to 'src/components/forms')
-rw-r--r--src/components/forms/TextField.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/forms/TextField.tsx b/src/components/forms/TextField.tsx
index 410cc654e..d28700df9 100644
--- a/src/components/forms/TextField.tsx
+++ b/src/components/forms/TextField.tsx
@@ -226,6 +226,7 @@ export function createInput(Component: typeof TextInput) {
       <>
         <Component
           accessibilityHint={undefined}
+          hitSlop={HITSLOP_20}
           {...rest}
           accessibilityLabel={label}
           ref={refs}
@@ -242,7 +243,6 @@ export function createInput(Component: typeof TextInput) {
           placeholder={placeholder || label}
           placeholderTextColor={t.palette.contrast_500}
           keyboardAppearance={t.name === 'light' ? 'light' : 'dark'}
-          hitSlop={HITSLOP_20}
           style={flattened}
         />