Prevent the default browser behavior of events (#1576)

This stops things like page scrolling on spacebar / arrow keys
This commit is contained in:
Ryan G 2020-05-21 13:13:33 -04:00 committed by GitHub
parent 49bcec1d27
commit 6cfddfea21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -1,4 +1,5 @@
# Unreleased
- On Web, prevent the webpage from scrolling when the user is focused on a winit canvas
# 0.22.2 (2020-05-16)