Normally pressing the back button on your mouse is equivalent of hitting the browsers "Back" button. ReactSvgPanZoom doesn't seem to check the mouse button and calls preventDefault() regardless.
Pan should only work on left-clicks. If button != 0 it shouldn't pan, and shouldn't prevent default.
Normally pressing the back button on your mouse is equivalent of hitting the browsers "Back" button.
ReactSvgPanZoom
doesn't seem to check the mouse button and callspreventDefault()
regardless.Pan should only work on left-clicks. If
button != 0
it shouldn't pan, and shouldn't prevent default.Thank you for awesome library!