-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.0.0-alpha.9
Environment
electron 15.3.0; vue 3.2.0
Reproduction link
https://github.com/vueComponent/ant-design-vue/blob/next/components/drawer/index.tsx
Steps to reproduce
- 创建一个input组件
- 创建一个drawer组件
3.input聚焦的时候 显示drawer, input失去焦点的时候隐藏drawer - 这个时候会发现drawer是出现不了的
- 即使将drawer的autofocus属性设置为false, 焦点依旧会脱离input
What is expected?
使drawer组件的autofocus属性生效
What is actually happening?
drawer组件的autofocus属性失效
查看了drawer组件的源码, 发现源码中虽然接收了autofocus属性, 但并未对其处理
