Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover showing behind elements below #459

Open
drallieiv opened this issue Nov 17, 2023 · 1 comment
Open

Popover showing behind elements below #459

drallieiv opened this issue Nov 17, 2023 · 1 comment

Comments

@drallieiv
Copy link

I have multiple blocs looking like this each with a popover
image

When I trigger the popover on an element at the bottom of the page, it gets show above and everything looks good
But when I trigger a popover on an element int the top 50% of the page, it gets displayed below the trigger, at the same location then the following blocks.
However the popover is rendered under it instead of above.

Here is a screenshot if I above the first one
image

Any idea in what to look for and possible fixes for that behaviour ?

Note I am using it with spacing="80" which is why it goes further away of the trigger.

I did look into z-index but it did not solve anything

@drallieiv
Copy link
Author

I found out that I stopped having the bug by removing some container-type css properties on the blocks

https://developer.mozilla.org/en-US/docs/Web/CSS/container-type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant