zyslife / react-native-head-tab-view

Add collapsible headers to your tab-view components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sticky header position

wendan52 opened this issue · comments

悬浮头部定位不正确,和gif里的不一样,目前定位到了最顶部,不在tabbar下面。有什么办法能解决么?

the stickyHeader position is not right。I hope it can be positioned under the tabbar。

运行的是Example,没有别的改动

image

Expected behavior希望呈现这样的定位

image

Package versions

  • React: 16.13.1
  • React Native: 0.63.4
  • React-Native-Gesture-Handler: 1.6.1

暂时修改createCollapsibleScrollView.tsx里的SceneListComponent,定位就可以正确了
image

@wendan52 你确定是直接运行的Example,没有其他改动吗?

@wendan52 你确定是直接运行的Example,没有其他改动吗?

是的。没改动别的

为什么我的Example直接运行不起来