igPopover positions wrongly
wnvko opened this issue · comments
Description
When igPopover
is shown to the right
and containment
is set popover shows on wrong location. This is reproducible only when containment
is set and there is no enough place to the right for popover to fit.
Steps to reproduce
- Create a containment div with width 500px and height 400px;
- Put an input in the middle of the div.
- Show
igPopover
from the input with this settings:
- containment: the containment div;
- direction: right;
- position: end;
- height: 100;
- width: 300;
Behavior is reproduced in this sample.
Result
Popover shows bellow the containment element
Expected result
Popover should show over the input as it does when direction is left