Can I enable hardware acceleration for Angular material?

The current version does not look smooth and fast. Even a simple application lingers on a common phone (except iPhone).

Is it because hardware acceleration is not turned on? Or is the phone hardware just not good enough?

If I need hardware acceleration, do I need to edit the sources?

+5
source share
1 answer

The problem is not in the angular material, you need to check your code.

Speaking of hardware acceleration, you can force accelerate hardware acceleration with css.

Add this css class to the body

.accelerate { -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); -o-transform: translate3d(0,0,0); transform: translate3d(0,0,0); } 

More on hardware acceleration hardware acceleration in the smash log

+3
source

All Articles