Skip to content

Commit

Permalink
docs(accordion): add overflow to custom motion example
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnguyennz committed Sep 23, 2024
1 parent bed4a59 commit 9a45518
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/docs/content/components/accordion/custom-motion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function App() {
y: 0,
opacity: 1,
height: "auto",
overflowY: "unset",
transition: {
height: {
type: "spring",
Expand All @@ -29,6 +30,7 @@ export default function App() {
y: -10,
opacity: 0,
height: 0,
overflowY: "hidden",
transition: {
height: {
easings: "ease",
Expand Down

0 comments on commit 9a45518

Please sign in to comment.