Hide popup when shaded background is tapped

I just began using the popup. Excellent improvement.
I want to hide the popup when users tap the shaded background. Any help…??

Not really the point of a popup though. A popup is supposed to interrupt the user and make them interact with it.

If you want a window that can be dismissed by tapping the backdrop, use a modal.

What if we need an element that looks/scales like a popup but works like a modal? Some tips or live example would be great.

Then use some css to style a modal.

1 Like

If you occupy ionicPupup not think you can, as you recommend is best that you create a modal as it happens on the web.