question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not working in RTL direction

See original GitHub issue

I am showing popup but when i switched to arabic language. application direction get changed as below :

if(language == "arabic"){
I18nManager.allowRTL(true);
}

After allowing RTL when i tried to show popup screen stuck.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
SteffeyDevcommented, Aug 4, 2019

Alright, version 2.0.4 is out with a basic fix, the popover should be visible but may be in the wrong place on the screen. Let me know how it works for you. I’ll keep investigating the layout issues and see what’s up.

0reactions
SteffeyDevcommented, Aug 4, 2019

Ok, thanks for the code. I’ve investigated further and found many issues with RTL layouts and this library. With some work I can make the popover actually appear, but there seems to be some layout issues that result in the popover being slightly off position. Not sure if it is an RN issue or on my end yet, but the built-in inspector bugs out in RTL. I’ll push out a basic fix soon and then continue investigating the weird layout issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Html direction attribute is not working - Stack Overflow
This is old question, but i hope it'll help someone, If direction:rtl; didn't work then try to override bidi in your css
Read more >
RTL is not working correctly with text align #1743 - GitHub
So the RTL is not working fine. We could try with something like: body[dir="rtl"] { direction: rtl; text-align: right; }. Original issue:
Read more >
direction - CSS-Tricks
The direction property in CSS sets the direction of of content flow within a block-level element. This applies to text, inline, ...
Read more >
CSS to force RTL - not working anymore? - Glide Community
From what I've read from other user's attempts at using CSS to force RTL, it seems like there is a lot that has...
Read more >
RTL text direction not working (using elementor builder) - WPML
Problem : Most of the parts RTL display ok. But one global template, 'Footer', does not respond to RTL direction. I've added custom ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found