Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ function TextInput({
onHoverIn={Platform.OS === 'web' ? undefined : onHoverIn}
onHoverOut={Platform.OS === 'web' ? undefined : onHoverOut}
accessible={false}
focusable={false}
tabIndex={Platform.OS === 'web' ? -1 : undefined}
role="none"
>
<View
Expand Down
14 changes: 7 additions & 7 deletions src/components/__tests__/__snapshots__/TextInput.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports[`dims a disabled TextInput with TextInput.Icon accessories exactly once
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -535,7 +535,7 @@ exports[`renders filled TextInput with TextInput.Icon accessories 1`] = `
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -990,7 +990,7 @@ exports[`renders filled TextInput with TextInput.Icon accessories when error is
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -1478,7 +1478,7 @@ exports[`renders filled TextInput with label and value 1`] = `
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -1669,7 +1669,7 @@ exports[`renders outlined TextInput with TextInput.Icon accessories 1`] = `
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -2104,7 +2104,7 @@ exports[`renders outlined TextInput with TextInput.Icon accessories when error i
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down Expand Up @@ -2572,7 +2572,7 @@ exports[`renders outlined TextInput with label and value 1`] = `
}
accessible={false}
collapsable={false}
focusable={true}
focusable={false}
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand Down
Loading