PedroBern / react-native-collapsible-tab-view

A cross-platform Collapsible Tab View component for React Native
MIT License
827 stars 160 forks source link

The head does not slide along with the iOS real device test, the whole head and the tab bar are suspended together to the top. #286

Open linweiboy opened 1 year ago

linweiboy commented 1 year ago

I am using "react": "18.0.0", "react-native": "0.69.1", "react-native-collapsible-tab-view": "^5.0.0-rc.13", "react-native-pager-view": "^5.4.25",

linweiboy commented 1 year ago

Device is iPhone 8 Version is 13.6.1,Error when running: Invariant Violation: [913,"RCTView",{"transform":[{"translateY":"<>"}]}] is not usable as a native method argument

I located this error to Container.tsx, line262, I modified the translateY: headerTranslateY.value||0, after that, there will be no ceiling effect on the real iOS device, and the head and tab bar are fixed and slide.

image

image