primitives icon indicating copy to clipboard operation
primitives copied to clipboard

Select is moving page content when open

Open jordisantamaria opened this issue 1 year ago • 6 comments

Bug report

Current Behavior

If you see on the video main content is moving horizontally and sidebar is moving vertically.

https://github.com/radix-ui/primitives/assets/6263700/45c2ba17-9769-4627-ab60-c72282a94fad

Expected behavior

Page content should not move

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-select 2.0.0
React n/a 18.2.0
Browser Chrome
Assistive tech
Node n/a 20
npm/yarn npm 10.2.3
Operating System Linx Mint

jordisantamaria avatar May 08 '24 15:05 jordisantamaria

Same here, curious as to a fix. It's adjusting a number of padding / borders across the entire page content.

R-K-H avatar May 09 '24 15:05 R-K-H

If you report an issue you should list steps to reproduce the case.

For this particular case prepare a Stackblitz (or any other code snippet editor example). Otherwise it's useless report.

michaltaberski avatar May 16 '24 13:05 michaltaberski

If some maintainer of this repository ask me for a Stackblitz to start working on this issue, I will work on preparing it.

jordisantamaria avatar May 16 '24 18:05 jordisantamaria

Can we see a reproduction or a deployed version of that somewhere?

vladmoroz avatar Jun 06 '24 08:06 vladmoroz

This issue was debugged to us having padding on the body. As soon as we removed the padding of the body, everything stopped jumping around.

R-K-H avatar Jun 06 '24 13:06 R-K-H

Can we see a reproduction or a deployed version of that somewhere?

Sure, give me a few days and will prepare it

jordisantamaria avatar Jun 06 '24 19:06 jordisantamaria