tooltip doesnt positioned propeply, if parent element have overflow-y: scroll
- Langage dominant
- TypeScript
- Étoiles
- 3.5k
- Forks
- 341
- Merge moyen
- 14 min
- PR mergées (30 j)
- 8
Description
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:

Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.