fix: sidebar styles and search button
This commit is contained in:
@@ -116,6 +116,9 @@ const handleKeyDown = async (event: KeyboardEvent) => {
|
||||
|
||||
textAreaValue.value =
|
||||
textAreaValue.value.slice(0, cursorPosition) + '\n' + textAreaValue.value.slice(cursorPosition);
|
||||
nextTick(() => {
|
||||
inputRef.value!.setSelectionRange(cursorPosition + 1, cursorPosition + 1);
|
||||
});
|
||||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user