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
Fix initialPage for Tabs #1376
Fix initialPage for Tabs #1376
Conversation
@tiberiumihai Seems like you did not go through Contribution Guidelines Please check it and update your code |
You cannot edit code in |
My bad. I'll update the PR. |
@tiberiumihai Any updates on this |
I've removed the changes from dist folder and left only the changes from src. I used the contributing guideline to also test this in a new project. This should be solved now. |
@tiberiumihai Issue is rather frustrating and apparently somewhere deep in RN, since I was able to follow call to scrollTo in Interaction Manager. Correct values are going through up to the place where it is bridged to native module aaand ✨magically✨ nothing happens. |
@ecnaidar Try to increase the InteractionManager's setTimeout time, probably your app is not so responsive due to some js processing and it needs more time to run the function. |
@tiberiumihai Just several tabs with text. EDIT |
#1443 This fixes issue for my specific case so apparently it makes situation better but certainly not a robust solution as heavier content breaks it |
@tiberiumihai Indicator issue in case of changing |
this issue is not fixed yet! |
InteractionManager.runAfterInteractions(f) happen to sometimes never call f. Specially in DEV mode.
For more info check: https://github.com/facebook/react-native/issues/8624#issuecomment-231040370