From d8315d5073b782848c8baff1cdebe83e53f3bb48 Mon Sep 17 00:00:00 2001 From: uknmr Date: Wed, 11 Aug 2021 11:03:00 +0900 Subject: [PATCH] =?UTF-8?q?improve:=20Calendar=20=E3=81=AE=E5=B9=B4?= =?UTF-8?q?=E9=81=B8=E6=8A=9E=E3=83=9C=E3=82=BF=E3=83=B3=E3=81=AE=E3=82=A4?= =?UTF-8?q?=E3=83=99=E3=83=B3=E3=83=88=E4=BC=9D=E6=92=AD=E3=82=92=E9=98=BB?= =?UTF-8?q?=E6=AD=A2=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Calendar/Calendar.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Calendar/Calendar.tsx b/src/components/Calendar/Calendar.tsx index 9b8d2e7dd9..4ff9d1bd77 100644 --- a/src/components/Calendar/Calendar.tsx +++ b/src/components/Calendar/Calendar.tsx @@ -54,7 +54,10 @@ export const Calendar = forwardRef( {currentMonth.year()}年{currentMonth.month() + 1}月 setIsSelectingYear(!isSelectingYear)} + onClick={(e) => { + e.stopPropagation() + setIsSelectingYear(!isSelectingYear) + }} size="s" square aria-expanded={isSelectingYear}