Skip to content

[iOS] Pressing Done button triggers onClose callback #399

Open
@chabanenkopp

Description

@chabanenkopp

Describe the bug

The onDonePress should not trigger onClose callback

To Reproduce

Open Picker modal on iOS device
Change selected value or do nothing
Press the done button
onDonePress and onClose callbacks are both triggered
Expected behavior

onClose should not be called, it should be called on click outside only

Additional details

Device: any iPhone
OS: iOS 13+
react-native-picker-select version: 8.0.4
react-native version: 0.63.3

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