Closed Howard-Song closed 6 years ago
Please re-open with a reproduction on plunker or stackblitz to help us investigate the issue.
Here the demo for this issue,please re-open.
scroll the view,click the button on the lower left corner and use alt+tab
or any way switch from chrom and back,the tootip shows.
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.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
I create a scrollHeight button,the button shows with
$('html').scrollTop() > 0
hide with$('html').scrollTop() == 0
,when$('html').scrollTop() == 0
afteralt+tab
switch from another app,the toolTip should be hided.What is the current behavior?
The problem is when when
$('html').scrollTop() == 0
I usealt+tab
back from another app,the toolTip show out. Click in the page,toolTip hide. here my component: html:ts:
css:
What are the steps to reproduce?
Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on
@master
): https://goo.gl/uDmqyYStackBlitz starter (using latest
npm
release): https://goo.gl/wwnhMVWhat is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.0.0, Material: 5.0.0-rc0, OS: win10, TypeScript: 2.6.1, Browsers: Chrome@62.0.3202.94
Is there anything else we should know?
When I click the button with
goTop()
and usealt+tab
switch from chrome to another app,tooTip will be hided,and show out again when back to chrome. update: Not only usealt+tab
any switch from chrome to another app,and back to chrome can cause this problem.