Skip to content

[IOS][TextInput] How can I hide or disable the shortcut(undo & redo ) on IOS software Keyboard? #24141

@jasmineActive

Description

@jasmineActive

How can I hide or disable the shortcut (undo & redo) on IOS keyboard?
In my project, we need to hide or disable the shortcut(only undo & redo ) on IOS keyboard when the textInput focused and it should be a global behavior. After some research, I found that in the native project, we can use the below code to do it.
inputAssistantItem.leadingBarButtonGroups = [] inputAssistantItem.trailingBarButtonGroups = []

But our project is a react-native project, I don' know how to do it.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    API: KeyboardComponent: TextInputRelated to the TextInput component.Platform: iOSiOS applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.Type: QuestionIssues that are actually questions and not bug reports.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions