Skip to content

Commit

Permalink
fix: popover가 특정 위치에서 안보이는 문제를 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
tbvjaos510 committed Feb 1, 2024
1 parent 95e28a8 commit cdcaec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vibrant-components/src/lib/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export const Popover = ({
<VStack position="absolute" zIndex={containerZIndex}>
<Transition
animation={{
opacity: isOpen && popoverPosition.x !== 0 && popoverPosition.y !== 0 ? 1 : 0,
opacity: isOpen && (popoverPosition.x !== 0 || popoverPosition.y !== 0) ? 1 : 0,
...popoverPosition,
}}
duration={200}
Expand Down

0 comments on commit cdcaec9

Please sign in to comment.