brimdata / react-arborist

The complete tree view component for React
MIT License
3.03k stars 139 forks source link

RTL Support #93

Open mohsenomidi opened 1 year ago

mohsenomidi commented 1 year ago

Dear Contributors Thanks for your great library

Is there any plan to support Right to Left direction?

In many languages this is very important

Thanks 🙏

jameskerr commented 1 year ago

No plans at the moment. If someone with knowledge of what this would take could help me, I'd be open to it.

mohsenomidi commented 1 year ago

Dear @jameskerr Sorry for my delay response

In the RTL everything should be mirror, I put some examples to demonstrate the RTL trees

example 1

example 2

mohsenomidi commented 1 year ago

Hi @jameskerr

Is there any chance to have this feature?

jameskerr commented 1 year ago

Thanks for providing the examples! Yeah, this is possible. I'll keep it in mind as I find time to work on the library.

mohsenomidi commented 1 year ago

Thank you so much 🙏

yshahedi commented 1 year ago

Dear @jameskerr
Thanks for your great library, it has wnderful features and very useful and it would be grate to have TRL feature, is it possible to plan for it in near future ?

jameskerr commented 1 year ago

@yshahedi I think it should be possible in the near future. Months perhaps?

mohsenomidi commented 9 months ago

Happy new year to all

Is there any update about this feature?

mshankayi commented 8 months ago

Hi, I need this feature too. Since this is the most complete library for TreeView in React, it'll be perfect to have this feature too.

Thanks in advance

jameskerr commented 6 months ago

This is coming along in the use-nodes branch and will be included in the next version. Here's a demo.

https://github.com/brimdata/react-arborist/assets/3460638/62f846a7-ed14-462f-98f4-e347b85a1ed6

mohsenomidi commented 6 months ago

Thats great 👍 Thanks 🙏