Skip to content

使用抽屉(Drawer)初次渲染时候会出现画面偏移情况,可在官方样例中复现 #3703

@happyplum

Description

@happyplum
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0

Environment

Google Chrome(88)/Edge(88)x64

https://2x.antdv.com/components/drawer-cn

Steps to reproduce

找到样例"渲染在当前 DOM"
点击open即可重现

What is expected?

左侧画面不变动,弹出右侧抽屉

What is actually happening?

第一次显示抽屉时左侧画面会出现抽屉宽度(width)的偏移,隐藏后再次打开恢复正常显示.可使用f5刷新重现

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions