Skip to content

Commit

Permalink
Merge branch 'master' into fix-IOS-bottom-fixed-position
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored Nov 5, 2020
2 parents 683ce49 + c5d6601 commit 7a20921
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions resources/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
8 changes: 1 addition & 7 deletions src/main/frontend/mixins.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -135,7 +129,7 @@
;; :will-unmount (fn [state]
;; (detach state)
;; state)
})))
})))

(defn modal
[k]
Expand Down

0 comments on commit 7a20921

Please sign in to comment.