You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CoordinatorLayout doesn’t work when the scrolled content is too short (height + toolbar height < screen height). It’s because React Native doesn’t bubble the touch event. I intercepted the touch event and manually applied the nested scrolling
The text was updated successfully, but these errors were encountered:
Hey @ngxu, the CoordinatorLayout is native to Android. There's no equivalent UIKit version for iOS.
I built a Twitter example that shows it in action. There's a native collapsing toolbar on the home scene. On the notifications scene, the tabs pin to the top of the screen as the header scrolls off. This is all implemented by wrapping the native functionality on Android.
Thanks, your project helped me add a collapsing toolbar to my navigation library for React Native. I thought I’d let you know about a couple of things I learnt along the way.
NestedScrollView
component because React Native’s ScrollView component supports nested scrollingCoordinatorLayout
doesn’t work when the scrolled content is too short (height + toolbar height < screen height). It’s because React Native doesn’t bubble the touch event. I intercepted the touch event and manually applied the nested scrollingThe text was updated successfully, but these errors were encountered: