SearchMixin: If the value is changed while the search / options are open, recalculate positioning

Fixes bug where it looks like the value hasn't changed, until the dropdown closes.
This commit is contained in:
nathan 2023-08-03 14:05:10 -06:00
parent 6f63c1686e
commit b2e1cef233

View File

@ -600,6 +600,12 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
{
return;
}
// If widget is currently open, we may need to re-calculate search / dropdown positioning
if(this.isOpen)
{
this.handleMenuShow();
}
}
/**