Skip to content

Commit

Permalink
chore: popoverRef 위치 상단으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Sep 7, 2024
1 parent 2f614a6 commit b4d1a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/client/components/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const Popover = ({ triggerContent, children }: PopoverProps) => {
onClose();
};
return (
<div className={popoverContainerStyle}>
<div className={popoverContainerStyle} ref={popoverRef}>
<button className={triggerStyle} onClick={handleClickTrigger}>
{triggerContent}
</button>
{open && (
<div className={popoverStyle} id="popover" ref={popoverRef}>
<div className={popoverStyle} id="popover">
<CloseIcon
className={closeButtonStyle}
height={14}
Expand Down

0 comments on commit b4d1a12

Please sign in to comment.