Skip to content
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

[Modal] 在输入法输入时屏蔽 closeOnEsc #2989

Closed
Innei opened this issue May 23, 2022 · 1 comment
Closed

[Modal] 在输入法输入时屏蔽 closeOnEsc #2989

Innei opened this issue May 23, 2022 · 1 comment
Labels
feature request New feature or request

Comments

@Innei
Copy link
Contributor

Innei commented May 23, 2022

This function solves the problem (这个功能解决的问题)

在输入法输入时(处于输入状态时),按下 esc 不应该关闭 modal(暂时屏蔽closeOnEsc)

Expected API (期望的 API)

在输入法输入时(处于输入状态时),按下 esc 不关闭 modal(暂时屏蔽closeOnEsc)

@github-actions github-actions bot added the feature request New feature or request label May 23, 2022
@Innei
Copy link
Contributor Author

Innei commented May 23, 2022

可以通过 Compositions Event 获取输入法状态,但是如何在 Modal 层面做监听。?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant