I am trying to highlight a cell when the user click on it by using jQuery .animate()
clickHandler: function() {
var cell = React.findDOMNode(this.refs.cell);
// $(cell).css("background-color", "blue"); // THIS WORK
$(cell).animate({
backgroundColor: "blue"
}, 1000); // THIS DOESN'T WORK
},
I am also using React.addons.CSSTransitionGroup. Maybe there is a conflict between jQuery .animate and it.
Thank you for any help.