[bug]: SidebarProvider sliding effect with nested Button
on mobile
#6159
Labels
bug
Something isn't working
Button
on mobile
#6159
Describe the bug
I get a wierd visual sliding effect when I set
size="icon"
on a nested component within aSidebarProvider
. but I only see this behavior on a mobile screen. I am on next JS if that matters.The video below shows the issue with the
size="icon"
prop enabled, then I comment it out and refresh the page to show it stops the issue:Recording.2024-12-22.170346.mp4
The Component:
Affected component/components
SidebarProvider, Button
How to reproduce
size="icon"
prop, I will see the sliding and refreshsize
prop or changing it to another value besidesicon
will stop the issue.Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: