Hi,
I am using long press event at an element and calling function which will use Dialog plugin and that plugin has a method confirm. Everything is working fine but at long press , alert box come with Little popup at top which scroll horizontally and inside this, show zoom of status bar content like battery , time SIme name.
This is unexpected behaviour. May I know why this happing ?
Code -
Dialogs.confirm("Do you want to delete this task ?", 'ABC', ['Cancel','OK']).subscribe((buttonIndex) => {
if(buttonIndex == 1){
// do code
}
else{
//do code
}
})
Alternate way -
navigator.notification.confirm("Do you want to delete this task ?", (buttonIndex)=> {
if(buttonIndex == 1){
// do code
}
else{
//do code
}
},'' ,[ "Cancel", "OK" ]);
Please let me know, If I am doing wrong.