Skip to content

升级到8.0.0版本,mask遮住drawer的content,无法点击 #479

@pangwenrui-web

Description

@pangwenrui-web

从7.2升级到8.0之后,mask遮罩层会挡住整个页面,一个最简单的demo就能试出问题
不是deps缓存问题,新建一个项目demo也会这样
`
import { useState } from 'react'
import Drawer from "rc-drawer";
import "rc-drawer/assets/index.css";
import './App.css'

function App() {
const [open, setOpen] = useState(false)

return (


<button onClick={() => setOpen(true)}>打开抽屉
<Drawer
open={open}
onClose={() => setOpen(false)}
width={600}
maskClosable={false}
>

content。。。。
<button onClick={() => setOpen(false)}>关闭



)
}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions