Skip to content

TextInput clearButtonMode not showing when multiline set to true #13927  #17480

@droid-lover

Description

@droid-lover

Description
Here are config props I tried to set on TextInput, but clearButton wouldn't show up

multiline: true,
numberOfLines: 2,
clearButtonMode: "while-editing",

Reproduction Steps and Sample Code
List all the steps required to reproduce the issue you're reporting. These steps should be clear and concise.

An example of code is

render() {
return (
<TextInput
returnkeyType: "done",
multiline: true,
numberOfLines: 2,
clearButtonMode: "while-editing",
/>
);
}

Solution
Add clear button

Additional Information
React Native version: 48
Platform: [FILL THIS OUT: iOS, Android, or both?] iOS
Development Operating System: macOS
Dev tools: iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions