fix: add http params focus & ui (#2611)

This commit is contained in:
heheer
2024-09-04 13:37:29 +08:00
committed by GitHub
parent 64708ea424
commit d6233cd7b1
8 changed files with 52 additions and 62 deletions

View File

@@ -77,10 +77,7 @@ export default function VariableLabelPickerPlugin({
onSelectOption={onSelectOption}
triggerFn={checkForTriggerMatch}
options={variableFilter(variables, queryString || '')}
menuRenderFn={(
anchorElementRef,
{ selectedIndex, selectOptionAndCleanUp, setHighlightedIndex }
) => {
menuRenderFn={(anchorElementRef, { selectedIndex, selectOptionAndCleanUp }) => {
if (anchorElementRef.current == null) {
return null;
}