mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -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}
|
||||
formatCreateLabel={formatCreateLabel}
|
||||
autoFocus
|
||||
isOpen
|
||||
isOpen={!loadState.loading}
|
||||
onCloseMenu={onClose}
|
||||
allowCustomValue={allowCustomValue}
|
||||
options={loadState.value ?? []}
|
||||
|
Loading…
Reference in New Issue
Block a user