atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.86k stars 520 forks source link

Tippy position influenced by dynamic content that isn't related to the appendTo target. #1099

Open joepetrakovich opened 1 year ago

joepetrakovich commented 1 year ago

Bug description

This very well could be user error but I'm stumped at why this tippy is moving around even though the appendTo element (parent in my usecase) is not moving. Is there a bug related to flex containers? I would expect the tippy to stay put considering the parent is fixed.

Reproduction

CodePen link: https://codepen.io/havesomejoe/pen/vYaJYVP

Znarkus commented 1 year ago

I'm having the same issue.. @joepetrakovich did you resolve this?

joepetrakovich commented 1 year ago

@Znarkus I ended up just using the [sticky] plugin as the perf costs weren't a concern.