We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096d2d9 commit 3feff35Copy full SHA for 3feff35
packages/devui-vue/devui/mention/src/mention.tsx
@@ -78,7 +78,9 @@ export default defineComponent({
78
};
79
80
const handleFocus = () => {
81
- if (props.trigger.includes(textContext.value)) {
+ const val = textContext.value;
82
+ const lastChar = val.charAt(val.length - 1);
83
+ if (props.trigger.includes(lastChar)) {
84
showSuggestions.value = true;
85
}
86
0 commit comments