Skip to content

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

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)}>关闭



)
}
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions