Skip to content

Commit

Permalink
Mute onMouseMove event
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujinxuan committed Aug 24, 2018
1 parent 9c0a777 commit 27f0084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slate-react/src/plugins/after.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ function AfterPlugin() {
// collapsed, and the new selection is also collapsed start; Then extend the
// selection rather than move the selection;
if (
event.timeStamp - lastMousePressedMovingTimeStamp < 24 &&
event.timeStamp - lastMousePressedMovingTimeStamp < 0 &&
range.isCollapsed &&
value.selection.isCollapsed
) {
Expand Down

0 comments on commit 27f0084

Please sign in to comment.