Skip to content

Conversation

vanenshi
Copy link

When DropdownMenu is used within the sidebar with side="right", the react-remove-scroll library automatically adds a margin to compensate for the removed scrollbar. This margin conflicts with the right-0 and left-0 absolute positioning classes on the sidebar container, causing an unwanted visual shift.

Copy link

vercel bot commented Oct 16, 2025

@vanenshi is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Looks like this PR modifies files in apps/www, which is deprecated.

Consider applying the change to apps/v4 if relevant.

@vanenshi vanenshi changed the title Fix DropdownMenu remove scroll behavior Fix sidebar shift when dropdown menu opens Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant