Skip to content

Commit 9630a6f

Browse files
committed
fix: improve popover child animation example for Safari
1 parent 43faa34 commit 9630a6f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/react-aria-components/stories/Popover.stories.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ export const PopoverChildElementAnimationExample = () => (
456456
}}>
457457
<style>
458458
{`
459+
@starting-style {
460+
.react-aria-Popover .content {
461+
opacity: 0;
462+
}
463+
}
459464
.react-aria-Popover[data-exiting] .content,
460465
.react-aria-Popover[data-entering] .content {
461466
opacity: 0;

0 commit comments

Comments
 (0)