Skip to content

Commit 18bfae2

Browse files
authored
Fix CodeInput firefox issue (#734)
1 parent 319e75d commit 18bfae2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/components/CodeInput/CodeInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const CodeInput = React.forwardRef<NativeTextInput, CodeInputProps>(
7272
value={value}
7373
onChangeText={onChangeText}
7474
rootStyle={style}
75+
textInputStyle={{ height: "100%" }} // addresses issue on firefox where the hidden input did not fill the height
7576
InputComponent={TextInput}
7677
cellCount={cellCount}
7778
renderCell={({ symbol, index, isFocused }) => (

0 commit comments

Comments
 (0)