From 676feaa5c22079c6eaa34c51ae80d91679522b2f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 20 May 2021 16:42:43 +0530 Subject: [PATCH] Disallow user select on search results pane --- src/pyj/read_book/search.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/search.pyj b/src/pyj/read_book/search.pyj index d42bdca650..804ae917d5 100644 --- a/src/pyj/read_book/search.pyj +++ b/src/pyj/read_book/search.pyj @@ -65,6 +65,7 @@ class SearchOverlay: c.style.flexDirection = 'column' c.style.alignItems = 'stretch' c.style.overflow = 'hidden' + c.style.userSelect = 'none' c.addEventListener('keydown', self.onkeydown) c.addEventListener('keyup', self.onkeyup)