From a7fd60987e8dbf068adba55ae47e69e3215d5d67 Mon Sep 17 00:00:00 2001 From: vignesh mohankumar Date: Sat, 19 Nov 2022 11:10:02 -0500 Subject: [PATCH] fix: no filters sidebar animation on mobile (#5320) --- src/nft/components/profile/view/FilterSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nft/components/profile/view/FilterSidebar.tsx b/src/nft/components/profile/view/FilterSidebar.tsx index e2f393a616..f6d3f73f69 100644 --- a/src/nft/components/profile/view/FilterSidebar.tsx +++ b/src/nft/components/profile/view/FilterSidebar.tsx @@ -91,7 +91,7 @@ export const FilterSidebar = ({ height={{ sm: 'full', md: 'auto' }} zIndex={{ sm: '3', md: 'auto' }} display={isFiltersExpanded ? 'flex' : 'none'} - style={{ transform: sidebarX.to((x) => `translateX(${x}px)`) }} + style={{ transform: isMobile ? undefined : sidebarX.to((x) => `translateX(${x}px)`) }} >