Tooltip in scrolling containers doens't work #4450
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
http://plnkr.co/edit/6q5v84DWolH6DeAdi70w?p=preview
Current behavior
I have a container with scrolling enable. Into the container I have several inputs setting like the documetation recomend for this case:
The tooltip appears in a incorrect position, far from the input.
Expected behavior
The tooltip must appears in the postition indicated next to the input.
In fact, I don't understand how this can work for someone because looking at the code, I have seen that to positionate it you use the method getBoundingClientRect which always returns the bound regarding to viewport, not the relative position where the tooltip was appended.
Please tell us about your environment:
Language: [TypeScript 2.4.2]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: