Skip to content

Commit

Permalink
Remove layout option since it affects the animation position when ope…
Browse files Browse the repository at this point in the history
…ning/closing the sidebar. Removing does not seem to affect performance, even with multiple snackbar notices present.
  • Loading branch information
apeatling committed Jan 30, 2023
1 parent efeadb5 commit 7b70c84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/components/src/snackbar/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export function SnackbarList( {

return (
<motion.div
layout={ ! isReducedMotion } // See https://www.framer.com/docs/animation/#layout-animations
initial={ 'init' }
animate={ 'open' }
exit={ 'exit' }
Expand Down

0 comments on commit 7b70c84

Please sign in to comment.