Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

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
Original file line number Diff line number Diff line change
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.