Skip to content

Commit 5235b4f

Browse files
fix: Drawer.PurePanel does not respond to mouse events (ant-design#56387)
Co-authored-by: 遇见同学 <1875694521@qq.com>
1 parent 39b7edd commit 5235b4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

components/drawer/style/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const genDrawerStyle: GenerateStyle<DrawerToken> = (token) => {
7777
background: colorBgElevated,
7878
display: 'flex',
7979
flexDirection: 'column',
80+
pointerEvents: 'auto',
8081

8182
[`&${componentCls}-left`]: {
8283
boxShadow: token.boxShadowDrawerLeft,

0 commit comments

Comments
 (0)