Merge branch 'master' into fix-IOS-bottom-fixed-position

pull/645/head
Charlie 2020-11-05 13:45:38 +08:00 committed by GitHub
commit 7a20921ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View File

@ -1450,11 +1450,11 @@ a.tag:hover {
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none !important; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
display: none;
display: none;
}

View File

@ -61,12 +61,6 @@
;; If the click target is outside of current node
(when-not (dom/contains dom-node (.. e -target))
(on-hide state e :click))))
(listen state dom-node "keydown"
(fn [e]
(case (.-keyCode e)
;; Esc
27 (on-hide state e :esc)
nil)))
(when visibilitychange?
(listen state js/window "visibilitychange"
(fn [e]
@ -135,7 +129,7 @@
;; :will-unmount (fn [state]
;; (detach state)
;; state)
})))
})))
(defn modal
[k]