Fix Gif Select dialog search bar scrolling away (#8874)

* fix flatlist dialogs on web

* tweak gif select dialog, add style prop to textfield
This commit is contained in:
Samuel Newman
2025-08-25 19:37:12 +03:00
committed by GitHub
parent 7771b56a43
commit 27c591f031
4 changed files with 24 additions and 16 deletions
+3 -2
View File
@@ -5,7 +5,6 @@ import {
View,
type ViewStyle,
} from 'react-native'
import type React from 'react'
import {atoms as a, useTheme} from '#/alf'
import {Text} from '#/components/Typography'
@@ -28,6 +27,8 @@ export function Header({
<View
onLayout={onLayout}
style={[
a.sticky,
a.top_0,
a.relative,
a.w_full,
a.py_sm,
@@ -61,7 +62,7 @@ export function HeaderText({
style?: StyleProp<TextStyle>
}) {
return (
<Text style={[a.text_lg, a.text_center, a.font_bold, style]}>
<Text style={[a.text_lg, a.text_center, a.font_heavy, style]}>
{children}
</Text>
)