How to close popup when tapping on opacity area?


#1

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 ?


#2

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


#3

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

should i use different thing like popup ?


#4

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


#5

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


#6

#7

ok, thanks. its working…