Skip to content

Commit

Permalink
[fixed] prevent selection when clicking show more
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Oct 24, 2015
1 parent 57c8843 commit 0b0fa0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Month.jsx
Expand Up @@ -351,6 +351,9 @@ let MonthView = React.createClass({
_showMore(events, date, row, slot){
let cell = findDOMNode(this._bgRows[row]).children[slot];

//cancel any pending selections so only the event click goes through.
this.clearSelection()

if (this.props.popup) {
let position = getPosition(cell, findDOMNode(this));

Expand Down

0 comments on commit 0b0fa0f

Please sign in to comment.