-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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(components): [cascader] add focus and blur event when set filterable #11273
Conversation
🧪 Playground Preview: https://element-plus.run/?pr=11273 |
@btea Hello~ Can you elaborate more on the issue? I'm not sure what the problem is. |
OK! Thank you for your kind explanation! |
It can also optimize the focus. At present, when you press the Tab key, ElInput is triggered for the first time and input is triggered for the second time. You should use |
Good catch 👍 |
It seems necessary to add focus class to ElInput |
Do you mean to add
|
for ElInput Currently, there is no style when using the Tab key to focus. |
The judgment condition here is insufficient. It cannot accurately determine whether the component is in the focus state |
I see, indeed as you said, the |
Co-authored-by: qiang <qw13131wang@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
…ble (element-plus#11273) * fix(components): [cascader] add focus and blur event when set filterable * feat: add tabindex * feat: update focus class * Update packages/components/cascader/src/cascader.vue Co-authored-by: qiang <qw13131wang@gmail.com> --------- Co-authored-by: qiang <qw13131wang@gmail.com>
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.fix #11220