Skip to content

dismissOnHardwareBackPress = false and dismissOnTouchOutside = false not working #2

Open
@boliveira

Description

@boliveira

Hi,

I tried to show a dialog with DialogManager.show with dismissOnHardwareBackPress = false and dismissOnTouchOutside = false and it's not working, it's dismissing anyway.
Took a look at the code and the dismissOnHardwareBackPress is not passed to PopupDialog instance on DialogComponent render, and on Dialog.js there is a property closeOnTouchOutside that exists for backwards compatibility but it's value is by default true and it ignores the dismissOnTouchOutside value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions