winit-sonoma-fix/src/platform_impl/web
Simon Hausmann 33fb62bb25
Fix WindowEvent::ReceivedCharacter on web (#1747)
* Fix WindowEvent::ReceivedCharacter on web

The event was never sent to the application because of the unconditional
preventDefault() call on keydown.

Fixes #1741

* Don't scroll when pressing space on a focused canvas

After reaching keypress, we should prevent further propagation.

Relates to #1741
2020-10-29 17:13:21 -04:00
..
event_loop web: Emit WindowEvent::Resized on Window::set_inner_size (#1717) 2020-09-21 18:19:00 -04:00
stdweb Fix WindowEvent::ReceivedCharacter on web (#1747) 2020-10-29 17:13:21 -04:00
web_sys Fix WindowEvent::ReceivedCharacter on web (#1747) 2020-10-29 17:13:21 -04:00
device.rs Draft web platform structure 2019-06-25 03:15:34 +02:00
error.rs Fix web errors (#1040) 2019-07-10 18:54:54 -04:00
mod.rs Fix warnings (#1742) 2020-10-15 11:33:06 -07:00
monitor.rs Rename hidpi_factor to scale_factor (#1334) 2020-01-05 14:15:12 -05:00
window.rs Rework 'Fullscreen::Borderless' enum variant 2020-09-22 04:54:47 +03:00