vue: board
This commit is contained in:
1 parent
9871559227
commit
53df6bbcc6
7 files changed
+197
-69
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { unwrap } from "./unwrap";
|
||||
|
||||
export function autoResizeTextarea(e: InputEvent): void {
|
||||
const el = unwrap(e.target) as HTMLInputElement;
|
||||
el.style.height = 'auto';
|
||||
el.style.height = `${el.scrollHeight + 1}px`;
|
||||
}
|
||||
Reference in new issue
Block a user