diff --git a/crates/eframe/src/web/mod.rs b/crates/eframe/src/web/mod.rs index 50e7aeb3..3f314752 100644 --- a/crates/eframe/src/web/mod.rs +++ b/crates/eframe/src/web/mod.rs @@ -171,6 +171,8 @@ fn set_clipboard_text(s: &str) { } }; wasm_bindgen_futures::spawn_local(future); + } else { + log::warn!("window.navigator.clipboard is null; can't copy text"); } } }