Ionic 2 Popover - How to display it in upper right corner


Currently popover is displayed at the center of the screen.

  1. How can I achieve the same display as the screenshot?
    ( I can’t find any particular settings within the example’s github )

  1. How can I trigger a resize of the popover after content is changed?



Ok, $event needs to be passed to popover.present() in order to get a similar view to the above.

Trying to figure out #2 now


For 2)

If popover is centered and content changes popover doesn’t re-align, dismiss and present the same popover again with the updated content.

If the popover is in a corner then it’ll expand without need of re-alignment.