Skip to content

Commit 0b0fa0f

Browse files
committed
[fixed] prevent selection when clicking show more
1 parent 57c8843 commit 0b0fa0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Month.jsx

+3
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ let MonthView = React.createClass({
351351
_showMore(events, date, row, slot){
352352
let cell = findDOMNode(this._bgRows[row]).children[slot];
353353

354+
//cancel any pending selections so only the event click goes through.
355+
this.clearSelection()
356+
354357
if (this.props.popup) {
355358
let position = getPosition(cell, findDOMNode(this));
356359

0 commit comments

Comments
 (0)