Skip to content

Commit

Permalink
Merge pull request #191 from jontelm/bug_fix_touchend
Browse files Browse the repository at this point in the history
adeded event.preventDefault() to touchEnd
  • Loading branch information
AlanFoster authored Apr 26, 2018
2 parents da4014c + 2484d36 commit fa06e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/calendar/CalendarDate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const CalendarDate = createClass({
},

touchEnd() {
event.preventDefault();
this.props.onHighlightDate(this.props.date);
this.props.onSelectDate(this.props.date);

Expand Down

0 comments on commit fa06e53

Please sign in to comment.