Sidebar Bug #3376
-
Hey, all! Pretty sure this is a bug, but wanted to get some eyes on it here fist. Basically what I'm seeing is:
Happy to open a bug if needed. More specifics about what I'm doing can be found in this Console PR under the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @HartiganHM I'm not seeing it in any of our full compositions in Storybook, but we don't have the exact configuration you have https://paste-storybook.twilio.design/?path=/story/components-sidebar-fullcompositions--console Would it be possible to create a reproduction in CodeSandbox for us? |
Beta Was this translation helpful? Give feedback.
OK, so I don't know why you're switching the sidebar variant when you open and close it, but thats what's causing this bug.
You can just set it to
compact
always.remove this logic:
const sidebarVariant = isCollapsed ? "compact" : "default";