Fixed flashing on load with mobile footer drawer (#299)

This commit is contained in:
Alec LaLonde
2021-01-28 17:10:31 -07:00
committed by GitHub
parent 77b3a301d0
commit 317b955e47

View File

@@ -158,8 +158,8 @@ export const MobileFooter: React.FC = () => {
animate={isOpen ? 'show' : 'hide'}
transition={{ duration: 0.25 }}
variants={{
show: { opacity: 1, pointerEvents: 'inherit' },
hide: { opacity: 0, pointerEvents: 'none' },
show: { display: 'block', opacity: 1, pointerEvents: 'inherit' },
hide: { display: 'none', opacity: 0, pointerEvents: 'none' },
}}
onClick={onClose}
>