wip
This commit is contained in:
parent
444b1f5370
commit
b89d4f248c
@ -124,6 +124,13 @@
|
||||
async function handleInputFocus() {
|
||||
isOpen = true;
|
||||
await updateVisibleCount(); // Ensure items render on focus
|
||||
// these 2 timeouts are a more or less tmp fix for rendering items when dropdown opens
|
||||
setTimeout(async () => {
|
||||
await updateVisibleCount(); // Ensure items render on focus
|
||||
}, 25);
|
||||
setTimeout(async () => {
|
||||
await updateVisibleCount(); // Ensure items render on focus
|
||||
}, 50);
|
||||
}
|
||||
|
||||
// Handle input typing to open dropdown
|
||||
|
Loading…
x
Reference in New Issue
Block a user