Skip to content

Merge pull request #938 from netwrix/fix/api-sidebar-collapse-animation fix: cap sidebar collapse animation to 200ms#939

Open
jth-nw wants to merge 2 commits into
mainfrom
dev
Open

Merge pull request #938 from netwrix/fix/api-sidebar-collapse-animation fix: cap sidebar collapse animation to 200ms#939
jth-nw wants to merge 2 commits into
mainfrom
dev

Conversation

@jth-nw
Copy link
Copy Markdown
Collaborator

@jth-nw jth-nw commented May 15, 2026

No description provided.

DanPiazza-Netwrix and others added 2 commits May 15, 2026 18:41
Docusaurus computes collapse transition duration proportional to content
height. The API Reference section has 112 tag groups (~4340px), causing
the default formula to produce ~778ms — nearly a second of animation when
collapsing the category.

One CSS rule capping transition-duration to 200ms (matching
--ifm-transition-fast) eliminates the delay site-wide without affecting
any other behavior. !important is required to override the inline style
set by Docusaurus's useCollapsible hook.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
fix: cap sidebar collapse animation to 200ms
@jth-nw jth-nw deployed to development May 16, 2026 00:05 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants