Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui_web: Disable native canvas touch callouts (#63775)

Jakub Konka9bda6b4e0342
diff --git a/crates/gpui_web/src/window.rs b/crates/gpui_web/src/window.rs
index 8d6b0bd688c..b985adbf032 100644
--- a/crates/gpui_web/src/window.rs
+++ b/crates/gpui_web/src/window.rs
@@ -121,6 +121,7 @@ impl WebWindow {
("display", "block"),
("outline", "none"),
("touch-action", "none"),
+ ("-webkit-touch-callout", "none"),
] {
style.set_property(property, value).map_err(|error| {
anyhow::anyhow!("Failed to set canvas {property} style: {error:?}")