Skip to content

Commit

Permalink
[docs-infra] Make the side nav collapse animation snappier (#38259)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal authored Aug 2, 2023
1 parent 4a8d581 commit d0403d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/AppNavDrawerItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export default function AppNavDrawerItem(props) {
{planned && <Chip label="Planned" sx={sxChip('grey')} />}
</Item>
{expandable ? (
<Collapse in={open} timeout="auto" unmountOnExit>
<Collapse in={open} timeout={250} unmountOnExit>
{children}
</Collapse>
) : (
Expand Down

0 comments on commit d0403d1

Please sign in to comment.