Skip to content

Don't automatically dismissSoftInput() on return pressed #8287

@bernica

Description

@bernica

Is your feature request related to a problem? Please describe.
When implementing a textField with next return key type, the keyboard is dismissed and focusing another textField brings it back BUT a flick is produced.

Describe the solution you'd like
I'd like to be able to prevent the textFieldShouldReturn implementation from always dimissing soft input.

Describe alternatives you've considered
Modify the implementation for it to check a user set flag.

Additional context
The code is in https://github.com/NativeScript/NativeScript/blob/master/nativescript-core/ui/text-field/text-field.ios.ts#L69

Metadata

Metadata

Assignees

No one assigned

    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