Skip to content

Commit 59301e8

Browse files
authored
TextField - fix web flexness 2 (#2840)
1 parent dcbece0 commit 59301e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/textField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const TextField = (props: InternalTextFieldProps) => {
156156
Known Issue: This slightly push the trailing accessory when entering a long text
157157
*/}
158158
{children || (
159-
<View flexG={!Constants.isWeb} flex={Constants.isWeb}>
159+
<View {...(Constants.isWeb ? {flex: true} : {flexG: true})}>
160160
{/* Note: Render dummy placeholder for Android center issues */}
161161
{Constants.isAndroid && centered && (
162162
<Text marginR-s1 style={dummyPlaceholderStyle}>

0 commit comments

Comments
 (0)