Commit a7fd6098 authored by vignesh mohankumar's avatar vignesh mohankumar Committed by GitHub

fix: no filters sidebar animation on mobile (#5320)

parent 51fe44d5
......@@ -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)`) }}
>
<Box
paddingTop={{ sm: '24', md: '0' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment