I come across a problem when using ionicPopover. My popover includes some horizontally aligned items. when the target element is clicked, there should be a popover floats above or below it accrording to its position.
I set the style of ion-popover-view as below:
<ion-popover-view style="background-color: black; height: auto; width: 220px; border-radius: 15px;">
As result, popover always floats below the target element. Like this:
If I remove the height: auto , popover can automatically float below or above the element, but the default height is too large.
Any idea to control both height and position of popover manually ?