Closed xmtoken closed 2 years ago
UIEvent.which is Non-standard. https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
UIEvent.which
https://github.com/donmbelembe/vue-dragscroll/blob/02699f2b1753461c25d6b82a0b983b95848f4a5a/src/directive.js#L88-L98
I think it should be changed to use a MouseEvent.button https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button
MouseEvent.button
UIEvent.which
is Non-standard. https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/whichhttps://github.com/donmbelembe/vue-dragscroll/blob/02699f2b1753461c25d6b82a0b983b95848f4a5a/src/directive.js#L88-L98
I think it should be changed to use a
MouseEvent.button
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button