We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
onBlur
Select
latest
失去焦点未触发onBlur
No response
可在官网复现
import React from 'react'; import { Select } from '@douyinfe/semi-ui'; () => ( <> <Select onBlur={() => console.log('blur!')} defaultValue='abc' style={{ width: 120 }}> <Select.Option value='abc'>抖音</Select.Option> <Select.Option value='ulikecam'>轻颜相机</Select.Option> <Select.Option value='jianying' disabled>剪映</Select.Option> <Select.Option value='xigua'>西瓜视频</Select.Option> </Select> </> );
- OS: - browser:
The text was updated successfully, but these errors were encountered:
v2.17 对 Select 的 A11y 做了键盘和焦点支持改造。
有蓝色border的情况下,代表此时select还是聚焦的。只点击 option的情况下,焦点还是在trigger上的,可以通过键盘再进行打开。点击了外部的时候才是真正失焦,此时会触发 onblur。
Sorry, something went wrong.
v2.17 对 Select 的 A11y 做了键盘和焦点支持改造。 有蓝色border的情况下,代表此时select还是聚焦的。只点击 option的情况下,焦点还是在trigger上的,可以通过键盘再进行打开。点击了外部的时候才是真正失焦,此时会触发 onblur。
现在点外部是不触发失焦的,我看已经有修复的PR了~
YannLynn
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Which Component
Select
Semi Version
latest
Current Behavior
失去焦点未触发
onBlur
Expected Behavior
No response
Steps To Reproduce
可在官网复现
ReproducibleCode
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: