We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://stackblitz.com/edit/angular-bi7zrp?embed=1&file=src/app/app.component.ts
1.滚动页面,观察tooltips的位置变化
1.在scrooll下,tooltip随元素一起移动
1.scroll后,tooltips 停留在首次出现的位置,不随这元素滚动 1.scroll, tooltips stay in the position of the first time, do not scroll with this element
The text was updated successfully, but these errors were encountered:
This is because Overlay of CDK only listens to scroll event of window.body.
Overlay
scroll
window.body
This 'bug' exists with Material, too. Check this demo.
Sorry, something went wrong.
Try this hack. You can use some debounce.
wzhudev
No branches or pull requests
Reproduction link
https://stackblitz.com/edit/angular-bi7zrp?embed=1&file=src/app/app.component.ts
Steps to reproduce
1.滚动页面,观察tooltips的位置变化
What is expected?
1.在scrooll下,tooltip随元素一起移动
What is actually happening?
1.scroll后,tooltips 停留在首次出现的位置,不随这元素滚动
1.scroll, tooltips stay in the position of the first time, do not scroll with this element
The text was updated successfully, but these errors were encountered: