mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix crash when using dropdown on certain device resolutions
This commit is contained in:
parent
c53b7c7389
commit
7f91139e21
@ -113,7 +113,7 @@ const IAICustomSelect = (props: IAICustomSelectProps) => {
|
|||||||
)}
|
)}
|
||||||
<Tooltip label={tooltip} {...tooltipProps}>
|
<Tooltip label={tooltip} {...tooltipProps}>
|
||||||
<Flex
|
<Flex
|
||||||
{...getToggleButtonProps({ ref: refs.setReference })}
|
{...getToggleButtonProps({ ref: refs.reference })}
|
||||||
sx={{
|
sx={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
@ -154,7 +154,7 @@ const IAICustomSelect = (props: IAICustomSelectProps) => {
|
|||||||
{isOpen && (
|
{isOpen && (
|
||||||
<List
|
<List
|
||||||
as={Flex}
|
as={Flex}
|
||||||
ref={refs.setFloating}
|
ref={refs.floating}
|
||||||
sx={{
|
sx={{
|
||||||
...floatingStyles,
|
...floatingStyles,
|
||||||
top: 0,
|
top: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user