Calling preventDefault
on keypress
events suppresses browser clipboard events
#1829
Labels
preventDefault
on keypress
events suppresses browser clipboard events
#1829
winit/src/platform_impl/web/web_sys/canvas.rs
Line 193 in 33fb62b
This particular line of code prevents browsers to send clipboard events if winit's canvas is focused.
That makes it troublesome to add copy/cut/paste events support to UI frameworks.
The text was updated successfully, but these errors were encountered: