mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix hidden dropdowns
Notably in the change board modal.
This commit is contained in:
parent
0e53b27655
commit
6d821b32d3
@ -44,7 +44,7 @@ const IAIMantineMultiSelect = forwardRef((props: IAIMultiSelectProps, ref) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip label={tooltip} placement="top" hasArrow isOpen={true}>
|
<Tooltip label={tooltip} placement="top" hasArrow isOpen={true}>
|
||||||
<FormControl ref={ref} isDisabled={disabled}>
|
<FormControl ref={ref} isDisabled={disabled} position="static">
|
||||||
{label && <FormLabel>{label}</FormLabel>}
|
{label && <FormLabel>{label}</FormLabel>}
|
||||||
<MultiSelect
|
<MultiSelect
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
|
@ -70,11 +70,10 @@ const IAIMantineSearchableSelect = forwardRef((props: IAISelectProps, ref) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip label={tooltip} placement="top" hasArrow>
|
<Tooltip label={tooltip} placement="top" hasArrow>
|
||||||
<FormControl ref={ref} isDisabled={disabled}>
|
<FormControl ref={ref} isDisabled={disabled} position="static">
|
||||||
{label && <FormLabel>{label}</FormLabel>}
|
{label && <FormLabel>{label}</FormLabel>}
|
||||||
<Select
|
<Select
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
withinPortal
|
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
searchValue={searchValue}
|
searchValue={searchValue}
|
||||||
onSearchChange={setSearchValue}
|
onSearchChange={setSearchValue}
|
||||||
|
@ -22,7 +22,12 @@ const IAIMantineSelect = forwardRef((props: IAISelectProps, ref) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip label={tooltip} placement="top" hasArrow>
|
<Tooltip label={tooltip} placement="top" hasArrow>
|
||||||
<FormControl ref={ref} isRequired={required} isDisabled={disabled}>
|
<FormControl
|
||||||
|
ref={ref}
|
||||||
|
isRequired={required}
|
||||||
|
isDisabled={disabled}
|
||||||
|
position="static"
|
||||||
|
>
|
||||||
<FormLabel>{label}</FormLabel>
|
<FormLabel>{label}</FormLabel>
|
||||||
<Select disabled={disabled} ref={inputRef} styles={styles} {...rest} />
|
<Select disabled={disabled} ref={inputRef} styles={styles} {...rest} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user