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

fix(select): issue 6451, fix showOnFocus attr cause first click open… #6480

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

12Fb
Copy link

@12Fb 12Fb commented Oct 21, 2024

close #6451

Fix: select组件, Issue:6451, 问题缘由:点击时focus和click都可以openMenu,导致click时判定为closeMenu。解决方案:设置一个新值判断是否第一次focus解决问题。

Copy link

vercel bot commented Oct 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
naive-ui ❌ Failed (Inspect) Oct 21, 2024 0:04am

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

Successfully merging this pull request may close these issues.

Select 设置 showOnFocus 为 true 第一次点击打开选项菜单时会马上关闭
1 participant