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

Scroll Area component, dir does not apply #628

Open
seb-lean opened this issue Nov 11, 2024 · 0 comments
Open

Scroll Area component, dir does not apply #628

seb-lean opened this issue Nov 11, 2024 · 0 comments

Comments

@seb-lean
Copy link

seb-lean commented Nov 11, 2024

https://codesandbox.io/p/sandbox/kd9jv9

The dir prop on scroll area doesn't apply the dir to the Scroll view component, it's just stuck at ltr:
image

If you use the DirectionProvider, the dir is applied:
image

Either the documentation needs to be updated, or the prop for the themed Scroll Area should work independently of the provider, imo.

If I fix this in my project I'm happy to contribute a PR.

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

No branches or pull requests

1 participant