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}>
|
||||
<Flex
|
||||
{...getToggleButtonProps({ ref: refs.setReference })}
|
||||
{...getToggleButtonProps({ ref: refs.reference })}
|
||||
sx={{
|
||||
alignItems: 'center',
|
||||
userSelect: 'none',
|
||||
@ -154,7 +154,7 @@ const IAICustomSelect = (props: IAICustomSelectProps) => {
|
||||
{isOpen && (
|
||||
<List
|
||||
as={Flex}
|
||||
ref={refs.setFloating}
|
||||
ref={refs.floating}
|
||||
sx={{
|
||||
...floatingStyles,
|
||||
top: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user