material icon indicating copy to clipboard operation
material copied to clipboard

performance: Repaints on scroll

Open krassx opened this issue 11 years ago • 9 comments

Take a look at this screenshot: http://gyazo.com/079dd1b123eb9824e37ec396e1039c3e

"Repaints on scroll" occurs for each md-content tag. probably there is a solution to fix that.

Also, there is a scrolling glitches (content blinking) in Safari on iPad mini (iOS 8.3). Overal performance in mobile Safari is really poor. Even when working with your official website (https://material.angularjs.org).

krassx avatar May 18 '15 05:05 krassx

Are you seeing the same content blinking on https://material.angularjs.org?

While I am not seeing any blinking, I do see some performance issues with ink-ripples and navigation.

ThomasBurleson avatar May 18 '15 15:05 ThomasBurleson

My bad. Content blinking was caused by 'transform: translateZ(0)' on md-content (attempt to force GPU).

However, I see blinking of shadow under this part http://gyazo.com/5ed296b1da018cb63d8c30f97bd9d6ff when expand/collapse groups in left panel. Not sure how it's related.

And perfomance is still an issue. When I expand/collaps groups in left panel on https://material.angularjs.org, it reacts with annoying delay. And animations are not smooth too. But be aware that it happens on iPad mini. On Android devices (my smartphone and another tablet) and desktop PC everything works perfectly.

If you need a video or kind of screen cast let me know. I will post it here.

krassx avatar May 19 '15 14:05 krassx

With 0.9.4 I have seen an significant improvement of the performance again. Thx !

kschwidder avatar May 20 '15 08:05 kschwidder

I'm seeing this same issue on Google internal moderator app. Googlers should be able to access it, turn on show scrolling bottlenecks, and verify. :)

paulirish avatar Jun 25 '15 12:06 paulirish

@paulirish - thx for the alert.

ThomasBurleson avatar Jul 06 '15 14:07 ThomasBurleson

I can confirm this issue. On devices with low CPU this is a show stopper because you can't scroll smoothily. I fixed it with a hack:

md-content { overflow: initial!important; }

SeeeD avatar Jul 13 '15 14:07 SeeeD

Pair with @robertmesserle

ThomasBurleson avatar Aug 10 '15 21:08 ThomasBurleson

+1 for this issue.

@SeeeD md-content { overflow: initial!important; } fix the issue. But it break md-scroll-shrink toolbar. No idea what else it is break as well.

hughred22 avatar Oct 18 '15 02:10 hughred22

@topherfangio - see the md-content solution ^.

ThomasBurleson avatar Nov 17 '15 03:11 ThomasBurleson