diff --git a/xilem_web/src/events.rs b/xilem_web/src/events.rs index 871b940f1..3211f4036 100644 --- a/xilem_web/src/events.rs +++ b/xilem_web/src/events.rs @@ -70,9 +70,6 @@ fn create_event_listener( ) -> Closure { let thunk = ctx.message_thunk(); let callback = Closure::new(move |event: web_sys::Event| { - // TODO make this configurable - event.prevent_default(); - event.stop_propagation(); let event = event.dyn_into::().unwrap_throw(); thunk.push_message(event); });