react-native-text-input-mask / react-native-text-input-mask

Text input mask for React Native, Android and iOS
MIT License
1.2k stars 308 forks source link

RightToLeft doesn't work #206

Open EQuimper opened 3 years ago

EQuimper commented 3 years ago

Hello thanks for this library. I did see one of the last release rightToLeft props was add. If I set it to true this doesn't work for me. Look like it's always leftToRight. Not sure if you do have the same issue.

martintreurnicht commented 3 years ago

@EQuimper Yes this was exposed recently as it was requested by several others although it hasn't been tested. I haven't looked into how this property is used on the native side exactly, I'll have a look at it later this week to try and figure out why it's not working

EQuimper commented 3 years ago

Sounds good @martintreurnicht thank you :)

NathHorrigan commented 3 years ago

Hi, @martintreurnicht - Did you get around to investigating this?

kudresov commented 2 years ago

Have the same issue here, after quick at the code aren't we missing rightToLeft to be passed in here: https://github.com/react-native-text-input-mask/react-native-text-input-mask/blob/530a1b6a5e09f64d83f7bb2cd6740a7132794d2d/ios/TextInputMask.swift#L48 ?

Disclaimer: not an iOS dev, so might be talking complete nonsense

whatoken commented 1 year ago

Same issue, any update on this? @martintreurnicht