Skip to content

Commit 945a360

Browse files
perf(ui): lazy mount scale slider popover
1 parent 483251a commit 945a360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/controlLayers/components/Toolbar/CanvasToolbarScale.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const CanvasToolbarScale = memo(() => {
122122
return (
123123
<Flex alignItems="center">
124124
<ZoomOutButton />
125-
<Popover>
125+
<Popover isLazy lazyBehavior="unmount">
126126
<PopoverAnchor>
127127
<NumberInput
128128
variant="outline"

0 commit comments

Comments
 (0)