after some testing i've noticed that after zoom in onMouseOut method is called,so this.crosshair has display: none attribute.
So if you add this.crosshair.style('display', 'block'); line in the onMouseMove method -> all will be fine. But it is a bad approach.
after some testing i've noticed that after zoom in `onMouseOut` method is called,so `this.crosshair` has `display: none` attribute.
So if you add `this.crosshair.style('display', 'block');` line in the `onMouseMove` method -> all will be fine. But it is a bad approach.
Steps to reproduce:
after some testing i've noticed that after zoom in
onMouseOut
method is called,sothis.crosshair
hasdisplay: none
attribute.So if you add
this.crosshair.style('display', 'block');
line in theonMouseMove
method -> all will be fine. But it is a bad approach.