Browse Source

fix: avoid AnimateEntry conflict with Draggable over transform by using translate instead

master
Muthu Kumar 1 month ago
parent
commit
7a9c01673f
Failed to extract signature
  1. 4
      src/components/AnimateEntry.tsx

4
src/components/AnimateEntry.tsx

@ -33,11 +33,11 @@ export const AnimateEntry = forwardRef<HTMLDivElement, AnimateEntryProps>(
@keyframes slideIn { @keyframes slideIn {
from { from {
opacity: 0; opacity: 0;
transform: translateY(3rem); translate: 0 3rem;
} }
to { to {
opacity: 1; opacity: 1;
transform: translateY(0); translate: 0 0;
} }
} }
`, `,

Loading…
Cancel
Save