-
Notifications
You must be signed in to change notification settings - Fork 187
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
Scroll on Header not scrolling other tabs (iOS) #66
Comments
Do you mean the status bar or the tab bar? Maybe it's not syncing when tapping on the status bar, not sure how can I solve this... Is it only in this example? |
Oh, interesting. I didn't know it meant tapping the tab bar. On iOS the native way to scroll to the top is by tapping the top status bar of the phone (where the time and battery are displayed) Is likely easy to hook into and detect. I'll look into it tomorrow. |
ok, perfect, should be easy to fix then 👍 |
So actually I don't think the right fix is to handle that event. The normal react-native-collapsible-tab-view/src/createCollapsibleTabs.tsx Lines 664 to 667 in 49ef109
|
Current behavior
In the scroll on header example, if I go to contacts and scroll to the end, then tap the status bar, it correctly scrolls the current tab to the top.
However, all the other tabs are not synced.
Expected behaviour
All tabs should be scrolled to the top.
Screenshots (if applicable)
The text was updated successfully, but these errors were encountered: