From 059669f3e5509a2b10adaa7922fa2233912ebede Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Fri, 19 Apr 2019 09:51:07 -0700 Subject: [PATCH] Don't prevent text selection with preventDefault We should use `user-select: none;` for this. I think all places are already doing this. --- js/components/WindowManager.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/components/WindowManager.tsx b/js/components/WindowManager.tsx index de3a58f7..28c773d5 100644 --- a/js/components/WindowManager.tsx +++ b/js/components/WindowManager.tsx @@ -60,8 +60,6 @@ class WindowManager extends React.Component { // The user may be clicking on full screen Milkdrop. return; } - // Prevent dragging from highlighting text. - e.preventDefault(); const [moving, stationary] = this.movingAndStationaryNodes(key);