MinJieLiu/react-photo-view

How does one animate it?

dvlden opened this issue · 1 comments

Hello,

I wonder what's the prefered way to animate the slide change? Something as simple as "fade in/out" would be sufficient.
By default it doesn't have the animation, unless dragged. Then it has the dragging effect, so it looks like an animation.

Great module btw!

There is currently no parameter to set the fade-out effect, but you can clone it yourself to modify it or set the speed to 0 to disable the animation