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

Support rtl from prop #514

Closed
net-bet opened this issue Apr 5, 2020 · 1 comment
Closed

Support rtl from prop #514

net-bet opened this issue Apr 5, 2020 · 1 comment
Assignees
Labels

Comments

@net-bet
Copy link

net-bet commented Apr 5, 2020

Hi,

The lib determines rtl, via searching a root with an rtl direction settings.
But sometimes you can change direction through the DOM so this behavior might not be always accurate.
Is there a possibility to option to pass the direction direcly via rtl or direction prop on the table?
It will help for whoever uses a direction context, so he can jast map the direction context value to this prop and keep the behavior he wants

I also saw this approach in other libs in react.

@jbetancur
Copy link
Owner

This will be available in 6.6.0

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

No branches or pull requests

2 participants