Skip to content

On Close of Picker return on previous input focus #123

@jriiringan

Description

@jriiringan

Describe the bug
It does not lose focus of previous input when you open a picker.(I've been trying to figure this thing, might be fall on the question)

To Reproduce
Steps to reproduce the behavior:

Open a picker while a keyboard is focused on a certain input.
After the keyboard is closed and a picker is opened, when you selected a certain item and close it
using "done" button it will return to the previous focused input.
(Unless you close the keyboard first and open a picker this will not happen.)

Expected behavior
All focus on previous input will be remove.

Smartphone (please complete the following information):

  • Device: iPhone6
  • OS: iOS12
  • react-native-picker-select version: 5.0.1
  • react-native version: 0.57.4
  • react version: 16.6

Reproduction and/or code sample
https://snack.expo.io/@jriiringan/pickerkeyboard
picker_issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions