vlad-ignatov / react-numeric-input

Numeric input component for react
MIT License
280 stars 104 forks source link

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

Open stefgootzen opened 5 years ago

stefgootzen commented 5 years ago

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

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?

vuquangkhtn commented 5 years ago

me too

eduardoabpereira commented 5 years ago

me too

eduardoabpereira commented 5 years ago

me too

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