refactor(web): svelte actions (#9701)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export const autoGrowHeight = (textarea: HTMLTextAreaElement, height = 'auto') => {
|
||||
textarea.style.height = height;
|
||||
textarea.style.height = `${textarea.scrollHeight}px`;
|
||||
};
|
||||
Reference in New Issue
Block a user