You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
No, haveOverlay is true, I checked that. I ended up changing Dialog.js code to remove the close*** props and changed DialogComponent.js to pass dismissOnHardwareBackPress to PopupDialog and then it worked.
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.
The text was updated successfully, but these errors were encountered: