chenglou / react-motion

A spring that solves your animation problems.
MIT License
21.68k stars 1.15k forks source link

Fix scale style in demo7 #553

Open jsm1003 opened 5 years ago

jsm1003 commented 5 years ago

The online demo7 doesn't work as expected, I fix it.

nkbt commented 5 years ago

I've just checked demo7 and it works as expected, what is the problem you think there is?

jsm1003 commented 5 years ago

@nkbt I created a GIF, you can see when I open the demo7 from my computer, and there were no water ripples

nkbt commented 5 years ago

This is how it works for me. I checked in opera and under windows 10 too. Same way everywhere

ripples

I do not know why you are seeing nothing. Maybe it is opened devtools (so chrome throttles something), maybe some browser plugin.

PS: I recommend Licecap to do gif captures. Very cool thing

jsm1003 commented 5 years ago

@nkbt Watch this Gif , you can see demo-ball element add an attribute , scale : 0

react-motion-demo2

my chrome version : 68.0.3440.106

I checked this URL from my classmate's computer, it works well ,It seems that only the chrome of my computer has this problem.

PS: LiceCap is very useful, thanks :D

nkbt commented 5 years ago

I am not sure I want to merge fix that fixes something broken on the only machine... Would better wait if someone else can reproduce it too.