components icon indicating copy to clipboard operation
components copied to clipboard

[Tooltip] Incorrect position on a sticky element

Open oktav777 opened this issue 8 years ago • 2 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Tooltip should appear just below the hovered element.

What is the current behavior?

Tooltip is not positioned correctly when an element 'sticks' using position: sticky. It just floats down as you scroll.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-jndauw

What is the use-case or motivation for changing an existing behavior?

The Tooltip as a main UI element should behave correctly.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@latest

Is there anything else we should know?

Instructions to reproduce inside the demo on stackblitz.

oktav777 avatar Jul 06 '18 14:07 oktav777

This is the same underlying issue as https://github.com/angular/material2/issues/11365. Closing as a duplicate.

crisbeto avatar Jul 07 '18 09:07 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.