lazd / iNoBounce

Stop your iOS webapp from bouncing around when scrolling
http://blog.lazd.net/iNoBounce/
BSD 2-Clause "Simplified" License
1.34k stars 400 forks source link

Warnings thrown in Chrome on desktop (in device emulation mode) #46

Open mimshwright opened 6 years ago

mimshwright commented 6 years ago

In Chrome 64 for mac i'm seeing this warning on every TouchMove when in the device emulation mode in dev tools: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>

lazd commented 6 years ago

Hmmmmmm... If this doesn't affect iOS, I'm not sure it's worth investigating.

On Fri, Mar 16, 2018 at 2:18 AM, Mims H. Wright notifications@github.com wrote:

In Chrome 64 for mac i'm seeing this warning on every TouchMove when in the device emulation mode in dev tools: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lazd/iNoBounce/issues/46, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMSgGu1XpRdcmhp7qQT2DDtb3PFO6cpks5te4NzgaJpZM4Std16 .

mimshwright commented 6 years ago

Would be curious if this happens on Windows computers with touch screens. But unfortunately, I don't have one.

Considering this is only in the developer panel, it's probably okay to let it go. However, most code nowadays runs on both desktop and mobile.

On Fri, Mar 16, 2018 at 4:43 PM Larry Davis notifications@github.com wrote:

Hmmmmmm... If this doesn't affect iOS, I'm not sure it's worth investigating.

On Fri, Mar 16, 2018 at 2:18 AM, Mims H. Wright notifications@github.com wrote:

In Chrome 64 for mac i'm seeing this warning on every TouchMove when in the device emulation mode in dev tools: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lazd/iNoBounce/issues/46, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAMSgGu1XpRdcmhp7qQT2DDtb3PFO6cpks5te4NzgaJpZM4Std16

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lazd/iNoBounce/issues/46#issuecomment-373754136, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIqaCkE0F_UO461g370S4LmBJquVcomks5te92UgaJpZM4Std16 .

lazd commented 6 years ago

Hmm yeah I'd like to see if it happens on windows too...