uibpopup positioning issue
jrnorrisjr opened this issue · 9 comments
I am working on a version of Relay Hub that has a hamburger menu at the left side. When a view opens there is a button that uses the uib-popover to show a tooltip. When the view opens after clicking on the hamburger icon the tooltip overlaps the button. As soon as the mouse is moved the tooltip moves to the correct position. It may be coincidence but the amount it shifts to the right appears to be about the size of the hamburger menu. I attached a zip containing screenshots to show what is happening.
uibpopup.zip
Can you share a link to the page via email so I can look into why the jump is happening?
I have a story to fix that tooltip being under the leftnav too (as you reported), looks like a z-index issue.
Can you try setting the popover to popover-append-to-body="true"
? If that doesn't work I'll have to create a plnkr to figure this out.
OK, there is a really old thread on the the jumping here, will keep looking for a solution.
Sending you a video via email...
When I remove the button animation, the popover displays in the correct position. As a temporary fix, you can remove the animation on this specific button using css animation-name: unset;
where / how do you apply this animation-name? I tried a style="" on the button that initiates the popover - my popovers fly in from the right awkwardly.