You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the sidebar transitions from collapsed to expanded state, a horizontal scrollbar briefly appears for about 1 second during the animation. This creates an undesirable visual effect and slight layout shift.
Affected component/components
Sidebar - SidebarContent
How to reproduce
Implement the Sidebar component with collapsible functionality
Set the initial state to collapsed
Click the toggle button to expand the sidebar
Observe the brief appearance of a horizontal scrollbar during the expansion animation
Codesandbox/StackBlitz link
import { Sidebar, SidebarContent, SidebarTrigger } from "@/components/ui/sidebar" export default function Demo() { return ( {/ Content that might cause overflow /}
Some content here...
) }
Logs
No response
System Info
- Browser: Chrome, Firefox, Safari (issue appears in all major browsers)
- OS: Cross-platform issue
- React version: 18.x
- Next.js version: 15.x
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
When the sidebar transitions from collapsed to expanded state, a horizontal scrollbar briefly appears for about 1 second during the animation. This creates an undesirable visual effect and slight layout shift.
Affected component/components
How to reproduce
Codesandbox/StackBlitz link
import { Sidebar, SidebarContent, SidebarTrigger } from "@/components/ui/sidebar" export default function Demo() { return ( {/ Content that might cause overflow /}
Some content here...
Logs
No response
System Info
- Browser: Chrome, Firefox, Safari (issue appears in all major browsers) - OS: Cross-platform issue - React version: 18.x - Next.js version: 15.x
Before submitting
The text was updated successfully, but these errors were encountered: