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

Select filterable multiple 开启过滤,多选条件下,使用slot action,无法聚焦输入框问题 #3247

Closed
de1ck opened this issue Jul 7, 2022 · 0 comments · Fixed by #3309
Assignees
Labels
bug Something isn't working

Comments

@de1ck
Copy link

de1ck commented Jul 7, 2022

TuSimple/naive-ui version (版本)

2.31.0

Vue version (Vue 版本)

3.2.37

Browser and its version (浏览器及其版本)

Chrome latest

System and its version (系统及其版本)

MacOS 10.15

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/hopeful-night-bl0nh1?file=/src/Demo.vue

Reappearance steps (重现步骤)

Select filterable multiple 开启过滤,多选条件下,使用slot action,点击action任意区域后,再次点击select框无法聚焦输入框问题

Expected results (期望的结果)

可以聚焦

Actual results (实际的结果)

无法聚焦

Remarks (补充说明)

如果你点开了这个例子,你可能需要它 <script lang="ts"> import { defineComponent, ref } from "vue"; export default defineComponent({ setup() { return { value: ref(null), options: [ { label: "Everybody's Got Something to Hide Except Me and My Monkey", value: "song0", disabled: true, }, { label: "Drive My Car", value: "song1", }, { label: "Norwegian Wood", value: "song2", }, { label: "You Won't See", value: "song3", disabled: true, }, ], }; }, }); </script>
@github-actions github-actions bot added the untriaged need to sort label Jul 7, 2022
@XieZongChen XieZongChen added bug Something isn't working and removed untriaged need to sort labels Jul 8, 2022
@XieZongChen XieZongChen self-assigned this Jul 11, 2022
gp0119 added a commit to gp0119/naive-ui that referenced this issue Jul 19, 2022
07akioni added a commit that referenced this issue Jul 19, 2022
* fix(select): fix select focus loss

* docs(changelog): closes #3247

Co-authored-by: 07akioni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants