https://stackblitz.com/edit/angular-xy3jhe
Steps to reproduce:
Do note that if you do ANY of the following changes, the bug is no longer reproducible:
ts
selection = new SelectionModel<PeriodicElement>(true, ELEMENT_DATA.slice(0, 3));
ts
selection = new SelectionModel<PeriodicElement>(true, ELEMENT_DATA.slice(0, 0));
html
<mat-label>Search</mat-label>
sticky: true to sticky: false in:html
<tr mat-header-row *matHeaderRowDef="displayedColumns; sticky: true"></tr>
The mouse wheel keeps scrolling the window without any interruption.
The mouse wheel can no longer scroll the window. You can scroll with keyboard arrows or by dragging the scrollbar by clicking on it. Hovering over matTooltip to display a Angular Material tooltip seems to fix the scrollbar and you can use the mouse wheel again, until it gets stuck again.
Cannot reproduce the bug in Safari or Firefox on MacOS 10.15.1
Also able to reproduce this locally. Any news on this?
Experiencing the same issue and it seems to be related to the Chrome version run.
Tested the following versions of Chrome with mixed results, may therefore be related to a Chrome issue and not a Angular/Material issue.
Chrome 77 (Tested OK with version 77.0.3865.75, via Browserstack Windows 10)
Chrome 78 (Tested NOT OK with version 78.0.3904.70, Windows 10 v1909)
Chrome 78 (Tested NOT OK with version 78.0.3904.70, via Browserstack Windows 10)
Chrome 79 (Tested OK with beta version 79.0.3945.45, Windows 10 v1909)
Chrome 79 (Tested OK with beta version 79.0.3945.16, via Browserstack Windows 10)
Chrome 80 (Tested OK with dev version 80.0.3955.4, via Browserstack Windows 10)
Environment
We've also tried moving back to Angular 7.2.11 and CDK/Material 7.3.6 with the same issue appearing.
Probably related issue https://github.com/angular/components/issues/17807
Probably related issue #17807
Using Firefox indeed has no issues with scrolling in my issue #17807
It seems to me, that this is not an issue in Chrome 79 anymore.
Yes, I can no longer reproduce the issue in the newest version of Chrome.
Correct! I've commented it in my issue:
https://github.com/angular/components/issues/17807#issuecomment-564428929
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._
Most helpful comment
Experiencing the same issue and it seems to be related to the Chrome version run.
Tested the following versions of Chrome with mixed results, may therefore be related to a Chrome issue and not a Angular/Material issue.
Chrome 77 (Tested OK with version 77.0.3865.75, via Browserstack Windows 10)
Chrome 78 (Tested NOT OK with version 78.0.3904.70, Windows 10 v1909)
Chrome 78 (Tested NOT OK with version 78.0.3904.70, via Browserstack Windows 10)
Chrome 79 (Tested OK with beta version 79.0.3945.45, Windows 10 v1909)
Chrome 79 (Tested OK with beta version 79.0.3945.16, via Browserstack Windows 10)
Chrome 80 (Tested OK with dev version 80.0.3955.4, via Browserstack Windows 10)
Environment
We've also tried moving back to Angular 7.2.11 and CDK/Material 7.3.6 with the same issue appearing.