Ionic 2 Popover coming in center of page


I’m using basic Ionic 2 Popover. Instead of showing popover in top right corner, it’s showing in center of page. Do I need to add some css to modify this?

Expected Result

Actual Result

1 Like

Make sure you are sending the event object.


Thanks. I was not sending event object as I was not using it. It should be mentioned in docs to always send this object. But thanks to awesome ionic community, I get answers faster than searching on stackoverflow. :relaxed:

Also, @El_Dee565 do you know if we can remove extra blank space on bottom of Popover? I just have 2 rows to display and extra white space is too much.

I was getting the same error, SOLVED by the mentioned help. Thanks