-
Notifications
You must be signed in to change notification settings - Fork 337
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
tooltip doesnt positioned propeply, if parent element have overflow-y: scroll #721
Comments
I have a similar issue. |
In my case this was because the boundariesElement (https://github.com/Akryum/v-tooltip#other-options) was left as default (probably parent element). Setting this to So, try to pass (in addtion to your options) Edit: To be more clear: |
This saved me a lot of time, but just as an addition, the correct option is
|
Hopefully to help someone else, I had the same issue, but this fix did not quite work for me. |
Hello dear developers! I find a very disturbing issue.
I got a div with max-height: 500px. In this div i render ul with overflow-y: scroll with max-height: 250px and a bunch of li, that will be rendered, added and deleted dynamically. But, if there is only one list item, then v-tooltip will be positioned incorrectly.
As example, if i use v-tooltip.bottom, then div rendered into DOM will contain x-placement="top" attribute. But, if i add another list item, the tooltip of first list item will be positioned properly, unfortunately tooltip for the last item in list, will be positioned incorrectly again and bottom will be switched to top.
Is it expected behavior or not? I think this is issue, because all of tooltip rendered into body.
Only one element in list:
Two elements in list:
The text was updated successfully, but these errors were encountered: