Skip to content

Popover scroll issues #1668

Answered by andioneto
vankhoawin asked this question in Q&A
Jul 14, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @vnguyen94 👋
To follow up from our conversations on Slack, the tooltip uses position: absolute; which requires a relative parent.

Below you can see that the div that contains the iframe is styled as position: relative;:

However children of the iframe do not inherit styles from the container, so its position property is the default value (as it is not explicitly set), which you can see below:

The tooltip is then relative to the containing div, rather than the contents of the iframe.
We suggest that the body be styled as position: relative; to fix this unexpected performance.

Please let us know if you have anymore questions, and thanks for reaching out! 🙌

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@vankhoawin
Comment options

@vankhoawin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by andioneto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants