Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions