Skip to content

Commit

Permalink
fix(Drawer): 修复层级问题,Dropdown被遮挡 #620 (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr-z committed Mar 8, 2022
1 parent 5772939 commit 5642e19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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;
Expand Down
2 changes: 1 addition & 1 deletion packages/react-overlay-trigger/src/index.tsx
Expand Up @@ -97,7 +97,7 @@ export default React.forwardRef<OverlayTriggerRef, OverlayTriggerProps>((props,
...other
} = props;

const zIndex = useRef<number>(990);
const zIndex = useRef<number>(999);
const triggerRef = useRef<HTMLElement>();
const popupRef = useRef<HTMLElement>();
const timeoutRef = useRef<number[]>([]);
Expand Down

0 comments on commit 5642e19

Please sign in to comment.