We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 319b89d + 2f90530 commit 245be0dCopy full SHA for 245be0d
src/core/View.js
@@ -307,7 +307,12 @@ export default class View extends Component {
307
this.getScreenEventPositionFor(e),
308
e
309
);
310
- this.onMouseMove = (e) => this.hover(this.getScreenEventPositionFor(e), e);
+ this.onMouseMove = (e) => {
311
+ // Only trigger hover if it's listed in the picking modes
312
+ if (this.props.pickingModes.indexOf('hover') !== -1) {
313
+ this.hover(this.getScreenEventPositionFor(e), e);
314
+ }
315
+ };
316
this.lastSelection = [];
317
318
this.onBoxSelectChange = select;
0 commit comments