Skip to content

Commit 0f2c3f1

Browse files
committed
* Disconnect the event from the react event pool before modification.
1 parent 9245c3a commit 0f2c3f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Panel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ let Panel = React.createClass({
4646
},
4747

4848
handleSelect(e) {
49+
e.persist();
4950
e.selected = true;
5051

5152
if (this.props.onSelect) {

0 commit comments

Comments
 (0)