mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Influx: Query segment menus now position correctly near the bottom of the screen (#60087)
* only open the menu once options are loaded for better positioning * use !loadState.loading instead of Boolean(loadState.value)
This commit is contained in:
parent
5010765115
commit
bb2ecb1468
@ -111,7 +111,7 @@ const SelSingleLoad = ({ loadOptions, allowCustomValue, onChange, onClose }: Sel
|
|||||||
isLoading={loadState.loading}
|
isLoading={loadState.loading}
|
||||||
formatCreateLabel={formatCreateLabel}
|
formatCreateLabel={formatCreateLabel}
|
||||||
autoFocus
|
autoFocus
|
||||||
isOpen
|
isOpen={!loadState.loading}
|
||||||
onCloseMenu={onClose}
|
onCloseMenu={onClose}
|
||||||
allowCustomValue={allowCustomValue}
|
allowCustomValue={allowCustomValue}
|
||||||
options={loadState.value ?? []}
|
options={loadState.value ?? []}
|
||||||
|
Loading…
Reference in New Issue
Block a user