mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
await tick();
|
await tick();
|
||||||
if (textareaElement) {
|
if (textareaElement) {
|
||||||
|
await tick();
|
||||||
setTimeout(adjustHeight, 0);
|
setTimeout(adjustHeight, 0);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -32,6 +33,7 @@
|
|||||||
bind:value
|
bind:value
|
||||||
{placeholder}
|
{placeholder}
|
||||||
on:input={adjustHeight}
|
on:input={adjustHeight}
|
||||||
|
on:focus={adjustHeight}
|
||||||
class={className}
|
class={className}
|
||||||
{rows}
|
{rows}
|
||||||
{required}
|
{required}
|
||||||
|
|||||||
Reference in New Issue
Block a user