Back button event not working when the modal dialog opened


#1

Hi,
I am using NativeScript with angular, when i opened the modal dialog after i press the back button, the modal dialog is closed after the back event method is firing. how to stop modal dialog closed when the back button press.


#2

You would need to intercept the back button click event and check if the dialog is open then continue from there.