We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a0a131 commit ce2bdfbCopy full SHA for ce2bdfb
src/nextjournal/clojure_mode/commands.cljs
@@ -31,7 +31,7 @@
31
(.setAttribute input-el "class" "clipboard-input")
32
(j/assoc! input-el :innerHTML text)
33
(-> js/document .-body (.appendChild input-el))
34
- (.focus input-el)
+ (.focus input-el #js {:preventScroll true})
35
(.select input-el)
36
(js/document.execCommand "copy")
37
(.focus focus-el #js {:preventScroll true})
0 commit comments