From 56b1bebfafa13cc52dae719cebc80692058b64aa Mon Sep 17 00:00:00 2001 From: Jesse van der Poel Date: Wed, 3 Jan 2024 15:12:24 +0100 Subject: [PATCH 1/2] Removed z-Index inherit from scroller button because it caused the scroller button to become unclickable --- packages/framer-scroller/components/ScrollerButton.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/framer-scroller/components/ScrollerButton.tsx b/packages/framer-scroller/components/ScrollerButton.tsx index e62252c83a..c4f04b5d82 100644 --- a/packages/framer-scroller/components/ScrollerButton.tsx +++ b/packages/framer-scroller/components/ScrollerButton.tsx @@ -78,10 +78,7 @@ export const ScrollerButton = m( {...buttonProps} onClick={handleClick} aria-label={direction} - sx={[ - { transition: 'all 250ms', zIndex: 'inherit', ...mode }, - ...(Array.isArray(sx) ? sx : [sx]), - ]} + sx={[{ transition: 'all 250ms', ...mode }, ...(Array.isArray(sx) ? sx : [sx])]} /> ) From b1afcd00b6680cd5167691e47a691461382226d3 Mon Sep 17 00:00:00 2001 From: Jesse van der Poel Date: Wed, 3 Jan 2024 15:16:01 +0100 Subject: [PATCH 2/2] Added changeset --- .changeset/modern-squids-approve.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/modern-squids-approve.md diff --git a/.changeset/modern-squids-approve.md b/.changeset/modern-squids-approve.md new file mode 100644 index 0000000000..8e7cd6faf1 --- /dev/null +++ b/.changeset/modern-squids-approve.md @@ -0,0 +1,5 @@ +--- +"@graphcommerce/framer-scroller": patch +--- + +Fixed bug which caused the scrollerButton to become unclickable