Skip to content

Commit

Permalink
Reduce animation threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 27, 2024
1 parent 6493e6f commit f66e757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/home/displays/DisplayGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function DisplayGrid({
// performance reasons. Unfortunately we can't seem to change the layoutId
// after the component has mounted, so even if a user filters down the view
// the displays might not animate: https://github.com/framer/motion/issues/2075
const animationsEnabled = filteredModels.length <= 512;
const animationsEnabled = filteredModels.length <= 360;

return (
<div className="flex flex-wrap gap-4 justify-center">
Expand Down

0 comments on commit f66e757

Please sign in to comment.