Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Select][Dialog] - console error 'cannot calculate scrollbar size because it is removed' #1593

Closed
adrian-asimov opened this issue Aug 3, 2022 · 1 comment

Comments

@adrian-asimov
Copy link

Bug report

Current Behavior

When the select dropdown is open inside a Dialog a console error shows up react-remove-scroll-bar: cannot calculate scrollbar size because it is removed (overflow:hidden on body link

Expected behavior

Console error should not appear

Reproducible example

CodeSandbox Template

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-dialog, @radix-ui/react-select 1.0.0 , 1.0.0
React n/a 18.2.0
Browser Chrome Version 103.0.5060.134 (Official Build) (arm64)
@benoitgrelard
Copy link
Collaborator

Hi @adrian-asimov, this is just a dev warning from the 3rd party library we use internally react-remove-scroll, you can safely ignore it or raise an issue with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants