Skip to content
Merged
4 changes: 4 additions & 0 deletions src/components/TextInput/TextInputMeasurement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ function TextInputMeasurement({
autoGrowHeight && styles.autoGrowHeightHiddenInput(width ?? 0, typeof maxAutoGrowHeight === 'number' ? maxAutoGrowHeight : undefined),
{width: contentWidth},
]}
// Match the input's line breaking on Android.
textBreakStrategy="simple"
Comment thread
chuckdries marked this conversation as resolved.
Resolved
accessible={false}
accessibilityElementsHidden
importantForAccessibility="no"
Expand Down Expand Up @@ -82,6 +84,8 @@ function TextInputMeasurement({
styles.hiddenElementOutsideOfWindow,
styles.visibilityHidden,
]}
// Match the input's line breaking on Android.
textBreakStrategy="simple"
accessible={false}
accessibilityElementsHidden
importantForAccessibility="no"
Expand Down
Loading