Skip to content

Commit 5140c9a

Browse files
committed
fix: No blink for hidden
1 parent 13258a6 commit 5140c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Popup/PopupInner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const PopupInner = React.forwardRef<PopupInnerRef, PopupInnerProps>(
166166
...stretchStyle,
167167
zIndex,
168168
...style,
169-
opacity: status === 'motion' || status === 'stable' ? undefined : 0,
169+
opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,
170170
pointerEvents: status === 'stable' ? undefined : 'none',
171171
};
172172

0 commit comments

Comments
 (0)