zyslife / react-native-head-tab-view

Add collapsible headers to your tab-view components.
432 stars 81 forks source link

组件兼容性问题 #134

Closed wyrainmonkey closed 2 years ago

wyrainmonkey commented 2 years ago

Describe the bug

咱们的组件仅支持系统的ScrollView,sectionList ,flatlist 吗 我现在用了一个第三方的瀑布流组件 import { StaggeredList } from 'react-native-staggered-list' 这个组件也是用VirtualizedList 封装的, const HSStaggeredList = HPageViewHoc(StaggeredList) 现在是报需要用Component 继承的组件,这个组件是泛型的,请问该怎么改

Expected

Package versions

wyrainmonkey commented 2 years ago

this._scrollView.setNativeProps is not a function 报这个错误

zyslife commented 2 years ago

this._scrollView.setNativeProps is not a function 报这个错误

你好,目前是只支持ScrollView,sectionList ,flatlist,因为其他列表组件或多或少会出现兼容问题,如果你感兴趣,可以尝试去fork修改,提交mr,期待你的加入。

wyrainmonkey commented 2 years ago

请问为什么debug的时候就卡死那,在进入到你写的吸顶界面的时候,在首页的时候是能debug的进入到吸顶界面就会卡死