Open belcherj opened 5 years ago
- [x] RTL Language
is determined to be LTR. This function only looks at the first letter character which in this case is an x
and determines it to be LTR. https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/unicode/UnicodeBidi.js#L198
Any progress here?
In recent versions problem appears in more general use cases:
Here is a more detailed example:
تست میکنیم
- یک مثال دیگر
* یک مثال
* [x] یک مثال جدید
* [ ] یک مثال جدید دیگر
* [ ] test
* [X] another test
GitHub MarkDown rendering:
تست میکنیم
یک مثال دیگر
یک مثال
[x] یک مثال جدید
[ ] یک مثال جدید دیگر
[ ] test
[X] another test
SmpleNote Electron Edit:
SimpleNote Electron Preview:
SimpleNote Android Edit:
SimpleNote Android Preview:
Expectation:
When checking a checklist item in rtl languages the item moves to the left: https://imgur.com/a/WNO1yAi
Expected
Should be right-aligned
Observed
It is right-aligned