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

🐛 [Bug]: mention组件只能@一次,并且过滤不会终止 #1762

Open
tech-zjf opened this issue Oct 24, 2023 · 2 comments · May be fixed by #1854
Open

🐛 [Bug]: mention组件只能@一次,并且过滤不会终止 #1762

tech-zjf opened this issue Oct 24, 2023 · 2 comments · May be fixed by #1854
Assignees
Labels
bug Something isn't working contribution welcome Welcome PR

Comments

@tech-zjf
Copy link

Version

Vue Version

Link to minimal reproduction

mention组件

Step to reproduce

官网demo,目前的问题是输入@之后, 随便选择了一个,之后再输入@提示No suggestion matched,不清除作者设计组件的时候是只考虑只能@一个目标还是啥,看了下源码逻辑,是只要输入了@,那么后面输入的所有字符都会拿去过滤。

What is expected

【个人感觉不是很合理,是否可以@之后输入了一个空格 重置匹配 在下次输入@时候重新走之前的逻辑。】我自己的封装的组件逻辑是这么去写的。

What is actually happening

No response

Any additional comments (optional)

No response

@tech-zjf tech-zjf changed the title 🐛 [Bug]: 🐛 [Bug]: mention组件只能@一次,并且过滤不会终止 Oct 24, 2023
@GreatZPP
Copy link
Member

是滴 从交互上来说当前是需要优化的

@GreatZPP GreatZPP added contribution welcome Welcome PR enhancement Feature enhancement labels Oct 25, 2023
@CoderSerio
Copy link

CoderSerio commented May 24, 2024

@CoderSerio 我想尝试修复这个问题

@fu050409 fu050409 self-assigned this Jun 8, 2024
@fu050409 fu050409 added bug Something isn't working and removed enhancement Feature enhancement labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contribution welcome Welcome PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants