[client] Fix user autocomplete not disappearing

This commit is contained in:
Laura Hausmann 2023-10-13 16:38:56 +02:00
parent ef14e0221b
commit b335fda4b0
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -3,7 +3,7 @@ import getCaretCoordinates from "textarea-caret";
import { toASCII } from "punycode/";
import { popup } from "@/os";
const mentionRegex = /@(?<user>[a-zA-Z0-9_]+|$)@?(?<host>[a-zA-Z0-9-.]+)?/g;
const mentionRegex = /@(?<user>[a-zA-Z0-9_]+|$)@?(?<host>[a-zA-Z0-9-.]+)?$/g;
export class Autocomplete {
private suggestion: {