Please sign in to comment.
Android: Add disableExtractUI prop to TextInput on Android
Summary: On Android, if there is a small amount of space available around a text input (e.g. landscape orientation on a phone), Android may choose to have the user edit the text inside of a full screen text input mode. This behavior isn't always desirable. For example, if your app offers some UI controls for controlling the formatting of the text, you want the controls to be visible while the user is editing the text. This Android feature conflicts with that desired experience because the UI controls would be hidden while the text is being edited. The `disableExtractUI` prop enables developers to choose whether or not Android's full screen text input editing mode is enabled. When this prop is true, Android's `IME_FLAG_NO_EXTRACT_UI` flag is passed to the `setImeOptions` method. **Test plan (required)** Verified `disableExtractUI` works for both `true` and `false` values in a test app. My team is also using this change in our app. Adam Comella Microsoft Corp. Closes #10900 Differential Revision: D4226483 Pulled By: mkonicek fbshipit-source-id: 8f1055f6e612b05bafabe6f07a3705dd8788e3da
- Loading branch information
Showing with 75 additions and 24 deletions.