Skip to content

Commit f31e961

Browse files
committed
focus the user question instead of scrolling to the end
1 parent 7dd63d6 commit f31e961

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/AIChatChat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class AIChatChat extends HTMLElement {
237237

238238
this.stopProgress();
239239
this.#input.focus();
240+
p.scrollIntoView();
240241
}
241242

242243
/**

0 commit comments

Comments
 (0)