From c0096c9df54c2ce2be6790b7e8e89e14025027eb Mon Sep 17 00:00:00 2001 From: "shingo.sasaki" Date: Tue, 7 May 2024 17:48:50 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20DatePicker=20=E3=81=AE=20VRT=20?= =?UTF-8?q?=E3=81=8C=E3=83=95=E3=83=AC=E3=83=BC=E3=82=AD=E3=83=BC=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E8=A7=A3=E6=B6=88?= =?UTF-8?q?=E3=81=99=E3=82=8B=20(#4626)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/DatePicker/VRTDatePicker.stories.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/smarthr-ui/src/components/DatePicker/VRTDatePicker.stories.tsx b/packages/smarthr-ui/src/components/DatePicker/VRTDatePicker.stories.tsx index eda4e038da..4f20a4f31d 100644 --- a/packages/smarthr-ui/src/components/DatePicker/VRTDatePicker.stories.tsx +++ b/packages/smarthr-ui/src/components/DatePicker/VRTDatePicker.stories.tsx @@ -41,6 +41,7 @@ const playExpanded = async ({ canvasElement }: { canvasElement: HTMLElement }) = const canvas = within(canvasElement) const textbox = await canvas.findByRole('textbox') await textbox.focus() + await textbox.blur() // カレンダーを開くためにフォーカスするが、カーソル点滅によるフレーキーを避けるためにすぐにフォーカスを外す } VRTExpanded.play = playExpanded @@ -105,6 +106,7 @@ VRTBottomExpanded.play = async ({ canvasElement }: { canvasElement: HTMLElement const canvas = within(canvasElement) const textbox = await canvas.findByRole('textbox') await textbox.focus() + await textbox.blur() // カレンダーを開くためにフォーカスするが、カーソル点滅によるフレーキーを避けるためにすぐにフォーカスを外す } const WrapperList = styled.ul`