From 5642e1912e12d5d966f67305272f2f98cffb88db Mon Sep 17 00:00:00 2001 From: WmW <48251883+nullptr-z@users.noreply.github.com> Date: Tue, 8 Mar 2022 14:01:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(Drawer):=20=E4=BF=AE=E5=A4=8D=E5=B1=82?= =?UTF-8?q?=E7=BA=A7=E9=97=AE=E9=A2=98,Dropdown=E8=A2=AB=E9=81=AE=E6=8C=A1?= =?UTF-8?q?=20#620=20(#630)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/uiwjs/uiw/issues/616 https://github.com/uiwjs/uiw/pull/617 --- packages/react-modal/src/style/index.less | 2 +- packages/react-overlay-trigger/src/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-modal/src/style/index.less b/packages/react-modal/src/style/index.less index 9658824346..d2e24710ec 100644 --- a/packages/react-modal/src/style/index.less +++ b/packages/react-modal/src/style/index.less @@ -1,7 +1,7 @@ @modal: ~'w-modal'; .@{modal} { - z-index: 990; + z-index: 1001; &-inner { padding-bottom: 20px; background: #f9f9f9; diff --git a/packages/react-overlay-trigger/src/index.tsx b/packages/react-overlay-trigger/src/index.tsx index bfc6957ef8..a0c9fb1039 100644 --- a/packages/react-overlay-trigger/src/index.tsx +++ b/packages/react-overlay-trigger/src/index.tsx @@ -97,7 +97,7 @@ export default React.forwardRef((props, ...other } = props; - const zIndex = useRef(990); + const zIndex = useRef(999); const triggerRef = useRef(); const popupRef = useRef(); const timeoutRef = useRef([]);