Alex Alex -3 years ago 52
React JSX Question

ReacJS CSSTransitionGroup how can i make my transition smoother and remove transition from element

Hello im trying to to keep my button

but remove the animation from it also my animation is not smooth enough and i can't really handle it cause no key frames. here is my bin.

My Bin

Answer Source

You need to specify the top of .changeImage. I added top: 60px and it stayed in place when toggling images. Is that what you were trying to achieve?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download