@@ -58,7 +58,7 @@ export const VariableSearchInput = ({
|
|||||||
const [keyboardFocusIndex, setKeyboardFocusIndex] = useState<
|
const [keyboardFocusIndex, setKeyboardFocusIndex] = useState<
|
||||||
number | undefined
|
number | undefined
|
||||||
>()
|
>()
|
||||||
const dropdownRef = useRef(null)
|
const dropdownRef = useRef<HTMLDivElement>(null)
|
||||||
const inputRef = useRef<HTMLInputElement>(null)
|
const inputRef = useRef<HTMLInputElement>(null)
|
||||||
const createVariableItemRef = useRef<HTMLButtonElement | null>(null)
|
const createVariableItemRef = useRef<HTMLButtonElement | null>(null)
|
||||||
const itemsRef = useRef<(HTMLButtonElement | null)[]>([])
|
const itemsRef = useRef<(HTMLButtonElement | null)[]>([])
|
||||||
@@ -70,6 +70,7 @@ export const VariableSearchInput = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isDefaultOpen) onOpen()
|
if (isDefaultOpen) onOpen()
|
||||||
|
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ const Popover = createMultiStyleConfigHelpers(
|
|||||||
popper: {
|
popper: {
|
||||||
width: 'fit-content',
|
width: 'fit-content',
|
||||||
maxWidth: 'fit-content',
|
maxWidth: 'fit-content',
|
||||||
|
zIndex: 'popover',
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
bg: colorMode === 'dark' ? 'gray.800' : 'white',
|
bg: colorMode === 'dark' ? 'gray.800' : 'white',
|
||||||
|
|||||||
Reference in New Issue
Block a user