:boom: [Fix] Auto resize user input after send
Browse files
components/buttons_binder.js
CHANGED
@@ -90,7 +90,9 @@ class SendUserInputButtonBinder {
|
|
90 |
async post_user_input() {
|
91 |
let user_input_content = $("#user-input").val();
|
92 |
console.log(user_input_content);
|
|
|
93 |
$("#user-input").val("");
|
|
|
94 |
if (get_selected_llm_model() == "notes") {
|
95 |
create_messager("user", user_input_content);
|
96 |
} else {
|
|
|
90 |
async post_user_input() {
|
91 |
let user_input_content = $("#user-input").val();
|
92 |
console.log(user_input_content);
|
93 |
+
// empty user input and reset height
|
94 |
$("#user-input").val("");
|
95 |
+
$("#user-input").css("height", "auto");
|
96 |
if (get_selected_llm_model() == "notes") {
|
97 |
create_messager("user", user_input_content);
|
98 |
} else {
|