ionicPopover position


Is it possible to control the location of the ionic popover control?

a) The vertical positioning logic moves the popover above the target element if it would extend below the bottom of the screen. This is ok if it happens to fit above the target, but can clip the popover if it also does not fit above. The logic for horizontal position works better where it constrains the location based on the screen.

b) It does not work for large target elements because the popover is a long way away from the touch event. Sometimes it would be better to use the touch location rather than the total size of the target as the basis for the popover location. For example, like a context menu.


The location always bugged me, I switched to the Popup because of this and can live with it being in the center all the time.