IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics

Home Page:https://bit.ly/2kuu1fT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Create a containment div with width 500px and height 400px;
  2. Put an input in the middle of the div.
  3. 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

Attachments

RightDirection
LeftDirection