From 2bd550cc8cbcbd1bd7c0908af2e7b315f41cda9b Mon Sep 17 00:00:00 2001 From: shleewhite Date: Tue, 28 Feb 2023 08:48:46 -0800 Subject: [PATCH] chore: fix story --- .../minimizable-dialog/stories/index.stories.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/paste-core/components/minimizable-dialog/stories/index.stories.tsx b/packages/paste-core/components/minimizable-dialog/stories/index.stories.tsx index 99e153fd3c..524f2d2c86 100644 --- a/packages/paste-core/components/minimizable-dialog/stories/index.stories.tsx +++ b/packages/paste-core/components/minimizable-dialog/stories/index.stories.tsx @@ -71,6 +71,10 @@ const DialogExample: React.FC> = export const DefaultForVRT: StoryFn = () => ; export const DefaultMinimizedForVRT: StoryFn = () => ; +/* + * Run chromatic on this story even though all the dialogs are on top of + * each other to verify that they are positioned correctly on the screen + */ export const FloatingButton: StoryFn = () => { const nameID = useUID(); const emailID = useUID(); @@ -119,10 +123,6 @@ export const FloatingButton: StoryFn = () => { ); }; -FloatingButton.parameters = { - chromatic: {disableSnapshot: true}, -}; - export const StateHookExample: StoryFn = () => { const dialog = useMinimizableDialogState({});