New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG - FlatList automatically scrolls to first when data is too large in horizontal mode RTL (Android) #26436
Comments
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
This issue does exist yet! |
Having similar issue with scrollview on android, when size changes (e.g. due keyboard open), the scrollview resets it's position |
I had this problem even if there is no resize!
…On Fri, 20 Mar 2020, 12:53 djhr, ***@***.***> wrote:
Having similar issue with scrollview on android, when size changes (e.g.
due keyboard open), the scrollview resets it's position
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#26436 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF5GCKOPCK4T6EXDNCMXS3DRIMYZZANCNFSM4IWWVM2Q>
.
|
I have the same exact problem too and couldn't find any fix for it |
Any Update on this? Or any alternative approach? |
yes facing the same issue, I have found multiple issues for the same error ... the strange thing is that this issue has been around for years now without a solution .... any idea for a horizontal list views libraries out there that don't depend on the flat list ... I have found this library for vertical list: recyclerlistview and till now it is way way better than the buggy flatlist and performance is much better |
The issue should mention Probably a duplicate of #19150 |
even LTR has the issue in horizontal, iOS also facing this. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
It has not fixed yet. |
Any update? |
I've been looking for any solution about this issue for days so far. I haven't found. |
You may follow this, https://stackoverflow.com/a/62066090/10464651 |
Any update? facing the same issue with Hebrew (RTL language). |
taka a look at this satya164/react-native-tab-view#1068 (comment). It worked for me. |
This is unrelated to the current issue. |
Facing the same issue here.. |
its really strange this is still a thing |
@matinzd hey, did you already find a solution for this bug?i also has the same issue just like you, for me it's from LTR not RTL on android... |
No, my project is now dead but this issue still not resolved. 😂 |
I had the same issue. For my case it was caused by getItemLayout() in FlatList. Not using getItemLayout() solved the issue for me. Maybe a correct/precise implementation (calculation of length and offset) of getItemLayout() function is needed. |
But this was just happening on RTL. It should bahave the same way. Since then, I have changed 2 companies but this issue still exists 😅 |
Yup, now I'm the one struggling with it haha |
#37651 |
Experiencing this on horizontal FlatList, even without RTL. After 10 items the list goes back to the beginning |
I'm facing the same problem! |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Has this bug been fixed? |
In my case, I was using a custom component both for horizontal & vertical flat list,
|
Review the documentation: https://facebook.github.io/react-native
Search for existing issues: https://github.com/facebook/react-native/issues
Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native version: 0.61.2
Code
Steps To Reproduce
I18nManager.allowRTL(true)
I18nManager.forceRTL(true)
As you see below when my app is running on RTL direction
FlatList
automatically scrolls to top/first of the list but LTR direction is OK!RTL:
LTR:
UPDATE ON THIS ISSUE ! :
onScroll will get called rapidly in
VirtualizedList.js:1443
when RTL is enabled without scrolling!But in LTR :
The text was updated successfully, but these errors were encountered: