You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, this is an interesting case. I am going to look back through to see why preventDefault was added in the first place. We might be able to just remove it.
With
"react-color": "^2.17.0"
In Chrome 71.0.3578.98, with devtools responsive mode, the following warning is emitted.
It look like React implicitly
addEventListener
stouchmove
event as{ passive: true }
.Since you should not fire
e.preventDefault()
intouchmove
handler, whichSaturation
component is violating it.react-color/src/components/common/Saturation.js
Lines 20 to 26 in 8bde391
Fundamentally it is caused by
saturation.calculateChange()
, so it seems this could be solved by.calculateChange
not requiringEvent
objectSaturation.this._handleChange
foronTouchmove
, replacing to another event handlerThe text was updated successfully, but these errors were encountered: