react-numeric-input icon indicating copy to clipboard operation
react-numeric-input copied to clipboard

Unable to preventDefault inside passive event listener due to target being treated as passive

Open stefgootzen opened this issue 6 years ago • 3 comments

I'm still getting the following error message.

Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

  • Only on mobile
  • Version 2.2.3
  • User agent: Mozilla/5.0 (Linux; Android 8.0.0; ONEPLUS A3003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Mobile Safari/537.36

It's the same message as in #44. However, I'm not experiencing the double steps.

I've tried setting the touch-action to auto like (styled components):

const StyledInput = styled(NumericInput)`
  touch-action: auto;
`;

Any idea how to fix this?

stefgootzen avatar Mar 15 '19 07:03 stefgootzen

me too

vuquangkhtn avatar May 15 '19 15:05 vuquangkhtn

me too

eduardoabpereira avatar Jun 18 '19 19:06 eduardoabpereira

me too

A possible solution could be adding: touch-action: none; what do you think?

eduardoabpereira avatar Jul 04 '19 22:07 eduardoabpereira