[v9.3.x] Influx: Query segment menus now position correctly near the bottom of the screen (#60291)
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)
(cherry picked from commit bb2ecb1468)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
co-authored by
Ashley Harrison
parent
32023f7122
commit
b884c106e9
@@ -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 ?? []}
|
||||
|
||||
Reference in New Issue
Block a user