Is there a reason why transitions for navigation sub-headers are disabled on small viewports? #4503
rolandjitsu
started this conversation in
Discussions
Replies: 1 comment 1 reply
-
|
The original intention was to disable the transitions only for the temporary sidebar that shows on mobile devices, but it seems like there's a bug as it can also show on the persistent sidebar... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking at
toolpad/packages/toolpad-core/src/DashboardLayout/DashboardLayout.tsx
Line 251 in 1561c23
and at
toolpad/packages/toolpad-core/src/DashboardLayout/DashboardSidebarSubNavigation.tsx
Line 124 in 1561c23
and I'm wondering if there's a specific reason why transitions are disabled on small viewports?
It feels a bit odd when the sidenav transitions smoothly when opening but the sub-header just snap.
Screen.Recording.2024-12-03.at.21.58.12.mov
Beta Was this translation helpful? Give feedback.
All reactions