How to close popup when tapping on opacity area?

Hi,

i am using $ionicPopup.show() method to open popup but after opening popup what should i do to close popup when user tap on area of opacity ?

What should i do for this ?

Not possible, it’s not the intention of the popup.
A popup is meant to force users to interact with it and not being able to easily dismiss it.

What you want in a modal

well i used popup template like following and it has no cancel/close button…

should i use different thing like popup ?

Whats the code look like? For something like that, again, I’d use a modal

can you please give me a link for demo about modal you were talking ? plz

1 Like

ok, thanks. its working…