RTL apps with a horizontal scrollView

See original GitHub issue

In the info.plist, I changed the Localization native development region to ‘fa’ so my app direction is RTL. ScrollView horizontal does not work fine. I can’t see the scroll indicator and can’t scrolling. If I change the Localization native development region to LTR languages, the scrollview works fine. Is there anyway to solve this problem?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:11
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

18reactions
dastooricommented, Feb 10, 2017

Temporary fix:

<ScrollView
  horizontal
  style={{ flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row' }}
>
   ...
</ScrollView>

In RTL layout you should use scrollToEnd() method to scroll to the first item

17reactions
malashkevichcommented, Sep 26, 2017

Hey, this is still a problem, guys. 😦 Can we reopen this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

HorizontalScrollView and RTL - android - Stack Overflow
I am trying to use horizontalscrollview from Right to ...
Read more >
HorizontalScrollView - Android Developers
A HorizontalScrollView is a FrameLayout , meaning you should place one child in it containing the entire ... Text direction is using "any-RTL"...
Read more >
SwiftUI ScrollView is not flipped in RTL - Apple Developer
SwiftUI ScrollView is not flipped in RTL ... import SwiftUI struct ContentView: View { var body: some View { ScrollView(.horizontal) { HStack {...
Read more >
RTL scrollview | Voters - React Native
currently a horizontal scrollview only works in LTR and not possible to set it to begin from right. setting flexDirection to 'row-reverse' does...
Read more >
Do you have issue using horizontal ScrollView with RTL ...
Do you have issue using horizontal ScrollView with RTL language ? Try my solution. r/SwiftUI - Do you have issue using horizontal ScrollView...
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