我有一个模态框,点击确认时,需要二次确认,也就是在弹出一个模态框,这时我希望,后一个能遮挡前一个,但ant-modal-mask 元素的z-index 为固定值990,所以后一个不能遮挡前一个 能否自己配置z-index 或者动态计算这个值 afc163mentioned this issueMay 4, 2016 ...
你可以监听open 控制document.body.style来添加或者移除样式
modal的maskClosable默认是true的,希望可以全部改为false。 What does the proposed API look like? Modal.config({ maskClosable: false, }); afc163closed this ascompletedNov 27, 2020 Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment...
ant-design#4…Browse files …7508) * fix: modal mask should block pointer events when opened * chore: code cleanLoading branch information MadCcc authored Feb 21, 2024 1 parent dd3e1b2 commit 6033c69 Showing 1 changed file with 0 additions and 6 deletions. Whitespace Ignore whitespace ...
Drawer 设置 mask false,在 Drawer 内打开 Modal,打开的 Drawer 位置会因为滚动消失而闪动 Reproduction link https://stackblitz.com/edit/react-etuypq?file=demo.tsx Steps to reproduce 点击Open Drawer 点击Open Modal What is expected? Drawer 不闪动...