We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 319b89d commit 2f90530Copy full SHA for 2f90530
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