react-native-context-menu-view icon indicating copy to clipboard operation
react-native-context-menu-view copied to clipboard

RTL Issue, I need support

Open Turkialmalki opened this issue 3 years ago • 10 comments

Hi @mpiannucci

I really appreciate the amazing effort you put into this great library.

Right Now, I’m facing an issue with RTL for iOS devices only

Turkialmalki avatar Mar 23 '21 12:03 Turkialmalki

any help please?

Ahmad-Elsayed avatar Mar 29 '21 09:03 Ahmad-Elsayed

Can you please add images/videos demonstrating the imags and what the behavior is? I have never used an RTL layout before so I need more information on what needs to be fixed before I can fix it. Thank you!

mpiannucci avatar Mar 29 '21 13:03 mpiannucci

Hi Matthew,

Thank you 🙏 for your response

I really need your help on this

I tried with objective C, but I can’t understand it

Here's the screenshot of the images

This is the layout for the English:

rtl eng

And, This is the layout for the Arabic, the layout for the context menu isn’t working:

rtl arabic

Turkialmalki avatar Mar 29 '21 13:03 Turkialmalki

Okay. so if I understand correctly, the text should be all be aligned to the right next to the icons for RTL?

mpiannucci avatar Mar 29 '21 13:03 mpiannucci

Will, Not only the text should move to the right, but also the icons should move to the left

Turkialmalki avatar Mar 29 '21 13:03 Turkialmalki

exactly like this in Arabic: Screen Shot 1442-08-16 at 5 00 33 PM

Turkialmalki avatar Mar 29 '21 14:03 Turkialmalki

Thanks for the image, I will look into it

mpiannucci avatar Mar 29 '21 14:03 mpiannucci

Thank you @mpiannucci

I really appreciate your amazing work,

It’s really going to save me

Turkialmalki avatar Mar 29 '21 14:03 Turkialmalki

Hi @mpiannucci

Any updates on the RTL issue

Thanks again for your amazing efforts 🙏

Turkialmalki avatar Apr 21 '21 10:04 Turkialmalki

Hello Maybe you can do a workaround with some styles (flex, marginEnd, marginStart...) / i18n Feel free to leave sample code.

Maragouin avatar Apr 26 '22 16:04 Maragouin