-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
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
Buttons initialize very slowly since beta.12 #7600
Comments
Does the same thing happen if you replace |
Yeah it seems to be significantly faster without |
This could be related to issue #4221. |
Might be related to touch-based ripples that have since been reverted |
I will try once the next beta comes @jelbourn |
I just filed #8838 which I think could be related? It's a ripple issue as well. |
Performance for ripples should be much better now. The ripples now use passive event listeners, which should improve the performance of the ripples at initialization and runtime. Also we updated the ripples to no longer register events, if the ripples are disabled initially using If you still see performance issues, please open a new issue, or ping me here. Thanks |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Since the beta.12 update it seems like mat-buttons take a long time to render.
What is the expected behavior?
Same speed or better as beta.11
What is the current behavior?
I have a paginated md-table with 50 rows and 3 buttons per row, since the last update switching pages takes significantly longer, it works fine if I remove the buttons.
What are the steps to reproduce?
Update to beta.12 and render many buttons at once
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/cli: 1.4.5
node: 8.2.1
os: darwin x64
@angular/animations: 4.4.4
@angular/cdk: 2.0.0-beta.12
@angular/cli: 1.4.5
@angular/common: 4.4.4
@angular/compiler: 4.4.4
@angular/core: 4.4.4
@angular/flex-layout: 2.0.0-beta.9
@angular/forms: 4.4.4
@angular/http: 4.4.4
@angular/material: 2.0.0-beta.12
@angular/platform-browser: 4.4.4
@angular/platform-browser-dynamic: 4.4.4
@angular/platform-server: 4.4.4
@angular/router: 4.4.4
@angular/compiler-cli: 4.4.4
@angular/language-service: 4.4.4
typescript: 2.5.3
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: