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