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

[Component] [dropdown] dropdown 内有input 与微软拼音输入法冲突 #16680

Open
CracKerMe opened this issue Apr 26, 2024 · 2 comments
Open

Comments

@CracKerMe
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.4.25
  • Element Plus Version: 2.7.2
  • Browser / OS: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
  • Build Tool: Webpack

Reproduction

Related Component

  • el-dropdown

Reproduction Link

Element Plus Playground

Steps to reproduce

  1. hover 打开dropdown下拉框,在输入框内输入中文
  2. 输入法为 微软拼音输入法, 兼容性按钮为关闭

What is Expected?

希望在新版本的微软拼音输入法下 输入中文 不会自动关闭 dropdown

What is actually happening?

实际在新版微软拼音输入法,输入中文时会自动关闭hover触发的dropdown 弹窗,打开输入法的兼容性选项之后 bug 消失

Additional comments

感谢开发者留意该bug,麻烦解决一下
系统信息:
版本 Windows 11 专业版
版本号 24H2
安装日期 ‎2024/‎3/‎15
操作系统版本 26080.1201
体验 Windows Feature Experience Pack 1000.26100.1.0

@warmthsea
Copy link
Contributor

There is indeed this problem.

screenshots

@warmthsea
Copy link
Contributor

warmthsea commented Apr 28, 2024

https://cn.vuejs.org/guide/built-ins/transition.html#the-transition-component

@before-leave="onBeforeLeave"

这在ui库层面是一个不好处理的问题
最好的建议是:不要在插槽内如此使用

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

No branches or pull requests

2 participants