refac/fix: dynamic height for command options
This commit is contained in:
1 parent
2ed9896dea
commit
28faaa23c4
3 files changed
+8
-3
No files matched your search
@@ -59,8 +59,10 @@
|
||||
onSelect({ type: 'prompt', data: command });
|
||||
};
|
||||
|
||||
onMount(() => {
|
||||
onMount(async () => {
|
||||
window.addEventListener('resize', adjustHeight);
|
||||
|
||||
await tick();
|
||||
adjustHeight();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user