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
Doesn't work inside tables #276
Comments
EDIT: I've reproduced with popper only and switched the jsbin to codepen. |
Umh that's unexpected 🤔 |
@FezVrasta any clue on why this happens? |
Nope, sorry but I'm not at home these days so I'm not able to investigate. |
Updated the codepen to make it more clear |
I'm seeing the issue as |
@mponizil that only works partially, because the popper width will be calculated based on the width of the |
@aristidesfl hah, indeed I realized that just after posting! |
Best workaround I've found so far: new Tooltip({
container: document.body,
boundariesElement: document.body
}) |
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent I guess I'll have to create a custom |
You all guys, please review #363 and let me know if it fixes your problems. |
released as 1.11.0 |
Not sure if it is a big thing to fix, but the fix in #276 doesn't work for |
I can verify also that this doesn't work in |
Agreed, this doesn't work inside |
Workaround that works for now:
Works if container is outside of |
We still have an issue with popover inside
I think it may be related to this issue. |
Update: my issue seems more related to issue #611. |
These issues should be fixed in v2, I don't have any codepen to test it (since the recent examples rely on Bootstrap), but similar table-related issues are fixed so I'm pretty confident. |
for v1, this is solutions |
Hi, |
v2 doesn't have any table issues |
Actually, there is, I tried to combine the tooltip in a simple HTML table and it didn't work, but when I changed from |
Ok, I found the problem: |
This seems to be happening in floating-ui for me. Wondering if #363 needs to be re-applied? I noticed the unit test is no longer there. |
CodePen demo
https://codepen.io/anon/pen/RVeQyL
Steps to reproduce the problem
What is the expected behavior?
Popper should show up next to reference element.
What went wrong?
Popper shows up in wrong location, or if page is scrolled, sometimes it gets hidden.
The text was updated successfully, but these errors were encountered: