-
-
Notifications
You must be signed in to change notification settings - Fork 49k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drawer 建议增加 keyboard - esc 关闭 #11628
Comments
Translation of this issue: drawer Suggest to add keyboard - esc close
What problem does this feature solve?Like modal, esc is off What does the proposed API look like?Keyboard={true} |
Hi, I was able to implement this with |
This should be implemented in the components. Esc should trigger an onClose callback if this is set. Also valid for the drawer component for example. |
这个 @chenshuai2144 不是有整过吗??PR 还发在那。。 |
@jljsj33 帮忙搞完吧 |
merge 一下就就好了,主要是 prettier 风格问题 后来我们已经全部转向 prettier |
@chenshuai2144 我信你个鬼。。。 |
drawer: ~1.9.0 |
@jljsj33 发个 MR 到 feature 分支上。 |
What problem does this feature solve?
和modal一样,esc关闭
What does the proposed API look like?
keyboard={true}
The text was updated successfully, but these errors were encountered: