Skip to content

Commit

Permalink
Merge pull request #307 from boostcampwm2023/feature/backlogPage
Browse files Browse the repository at this point in the history
fix: 에픽 옵션 메뉴를 클릭하면 드롭다운이 닫히는 문제 해결
  • Loading branch information
surinkwon authored Jul 7, 2024
2 parents 366ddbe + 29e1591 commit 425311e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/backlog/EpicDropdownOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import MenuKebab from "../../assets/icons/menu-kebab.svg?react";
import { EpicCategoryDTO } from "../../types/DTO/backlogDTO";
import useDropdownState from "../../hooks/common/dropdown/useDropdownState";
import EpicUpdateBox from "./EpicUpdateBox";
import { useRef } from "react";
import { MouseEvent, useRef } from "react";

interface EpicDropdownOptionProps {
epic: EpicCategoryDTO;
Expand All @@ -13,7 +13,8 @@ const EpicDropdownOption = ({ epic }: EpicDropdownOptionProps) => {
const { open, handleOpen, handleClose } = useDropdownState();
const buttonRef = useRef<HTMLButtonElement | null>(null);

const handleMenuButtonClick = () => {
const handleMenuButtonClick = (event: MouseEvent) => {
event.stopPropagation();
handleOpen();
};

Expand Down

0 comments on commit 425311e

Please sign in to comment.