copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.84k stars 1.4k forks source link

Prevent overscroll on touch-based devices? #386

Closed AeriaVelocity closed 11 months ago

AeriaVelocity commented 3 years ago

Whenever I use the website on an iOS device, whenever moving the mouse up or down, the screen overscrolls (scrolls above the usually allowed amount)

https://user-images.githubusercontent.com/16748384/103086446-90d60980-45dc-11eb-8959-ecfd9765d73b.mov

Is it possible to prevent this from happening?

copy commented 3 years ago

There's probably some way to fix this, but I have no idea how. Contributions are welcome.

AeriaVelocity commented 3 years ago

Would this work? https://stackoverflow.com/a/14130056

AeriaVelocity commented 3 years ago

I don't see any green flashing on my end, no idea how you're seeing any.