Skip to content

Commit

Permalink
Fixed a bug in ripple animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Nguyen committed Nov 9, 2014
1 parent e603e50 commit f181bc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/dist/js/ripple.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ var Ripple = React.createClass({
y = e.pageY - $offset.top;

$ripple.css({
transition: 'none',
top: y,
left: x
});

$ripple.addClass('mui-show');
CssEvent.onAnimationEnd($ripple, function() {
$ripple.removeClass('mui-show');
Expand Down

0 comments on commit f181bc8

Please sign in to comment.