|
|
@@ -1342,7 +1342,7 @@
|
|
|
#?(:cljs
|
|
|
(defn scroll-editor-cursor
|
|
|
[^js/HTMLElement el & {:keys [to-vw-one-quarter?]}]
|
|
|
- (when (and el (native-platform?))
|
|
|
+ (when (and el (or (native-platform?) mobile?))
|
|
|
(let [box-rect (.getBoundingClientRect el)
|
|
|
box-top (.-top box-rect)
|
|
|
box-bottom (.-bottom box-rect)
|