refac/fix: dynamic height for command options

This commit is contained in:
Timothy Jaeryang Baek
2025-08-14 02:14:23 +04:00
parent 2ed9896dea
commit 28faaa23c4
3 changed files with 8 additions and 3 deletions

View File

@@ -76,13 +76,14 @@
onMount(async () => {
window.addEventListener('resize', adjustHeight);
adjustHeight();
await tick();
const chatInputElement = document.getElementById('chat-input');
await tick();
chatInputElement?.focus();
await tick();
adjustHeight();
});
onDestroy(() => {