Jump to content
Search Community

Running script on Microsoft Edge has some lag

monarch test
Moderator Tag

Recommended Posts

  • monarch changed the title to Running script on Microsoft Edge has some lag

Hey monarch and welcome to the GreenSock forums! 

 

Browsers handle rendering differently. Some handle certain animations better than others. There's not one fix to make animations work well in a certain browser. In this case, you could try adding will-change: transform; to the .cell CSS. 

 

I'm curious - why are you interested in doing it for this pen? Are you using the above pen in production somewhere? That sort of effect probably should be done in something like WebGL if you're worried about performance or going to use it in production. Pete made that pen just to demonstrate some features in GSAP 3.

  • Like 3
Link to comment
Share on other sites

3 hours ago, ZachSaucier said:

Hey monarch and welcome to the GreenSock forums! 

 

Browsers handle rendering differently. Some handle certain animations better than others. There's not one fix to make animations work well in a certain browser. In this case, you could try adding will-change: transform; to the .cell CSS. 

 

I'm curious - why are you interested in doing it for this pen? Are you using the above pen in production somewhere? That sort of effect probably should be done in something like WebGL if you're worried about performance or going to use it in production. Pete made that pen just to demonstrate some features in GSAP 3.

Thanks for your reply,

I just wanted to know how we can fixed these kinda of problems if happen in future on my own scripts specially for Microsoft Edge

 

Also i added will-change: transform to the .cell class but problem still remain on Edge. 

Link to comment
Share on other sites

6 minutes ago, monarch said:

I just wanted to know how we can fixed these kinda of problems if happen in future on my own scripts specially for Microsoft Edge

It often depends on exactly what's going on. It's best to use your developer tools to figure out what is causing the issue. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...