You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then the Switch component will still be inverted, i.e. displayed in RTL style (on: left, off: right).
The same situation if i set the LTR language on the system and switch the RTL direction in the application:
The system in emulator has the RTL (Hebrew) language installed, but the text direction is switched to LTR. On=right is expected, but “Switch” retains the direction used by the system.
The system in emulator has the LTR(english) language installed, but the text direction is switched to RTL. On=left is expected, but “Switch” retains the direction used by the system.
The text was updated successfully, but these errors were encountered:
Description
if I set the RTL language on the device but in the application itself I set LTR via:
then the Switch component will still be inverted, i.e. displayed in RTL style (on: left, off: right).
The same situation if i set the LTR language on the system and switch the RTL direction in the application:
This component will be displayed in the direction that is used in the system, not in the application. (on: right, off: left)
Steps to reproduce
React Native Version
0.76.6
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/whiskeycola/bug-react-native-switch
Screenshots and Videos
The image shows a screenshots from the emulator.
The system in emulator has the LTR(english) language installed, but the text direction is switched to RTL. On=left is expected, but “Switch” retains the direction used by the system.
The text was updated successfully, but these errors were encountered: