Skip to content

Commit

Permalink
test: ダイアログ背景よりも別要素が上に来ないことを確認するスタイルを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
uknmr committed Sep 11, 2024
1 parent 6e12f07 commit 05941e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/smarthr-ui/src/components/Dialog/Dialog.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export const Default: StoryFn = () => {
aria-haspopup="dialog"
aria-controls="dialog-default"
data-test="dialog-trigger"
// 別のスタッキングコンテキストがダイアログ背景よりも上に来ないことを確認するための記述
style={{ zIndex: 21, position: 'relative' }}
>
Dialog
</Button>
Expand Down

0 comments on commit 05941e5

Please sign in to comment.