react-stockcharts icon indicating copy to clipboard operation
react-stockcharts copied to clipboard

Proper event detection

Open nani3105 opened this issue 10 years ago • 2 comments

This piece of code in EventHandler

inputType === "mouse"

is causing the code to always default to touch.

I believe inputType is an Object.

nani3105 avatar Apr 12 '16 13:04 nani3105

inputType is a string

"mouse" is passed from here

"touch" is passed from here

I am not following the problemm, can you explain the scenario please

rrag avatar Apr 12 '16 14:04 rrag

Sorry didnt see the refactored code. Closing this.

nani3105 avatar Apr 12 '16 19:04 nani3105