Fixed crash on iOS
这个提交包含在:
父节点
9eb925d1a1
当前提交
759c369c93
共有 1 个文件被更改,包括 3 次插入 和 2 次删除
|
|
@ -14,12 +14,13 @@ export const withCollapsible = (Component: any) => {
|
|||
progress,
|
||||
opacity,
|
||||
} = useCollapsibleStack();
|
||||
const statusbarHeight = StatusBar.currentHeight != null ? StatusBar.currentHeight : 0;
|
||||
return <Component
|
||||
collapsibleStack={{
|
||||
onScroll,
|
||||
onScrollWithListener,
|
||||
containerPaddingTop: containerPaddingTop - StatusBar.currentHeight,
|
||||
scrollIndicatorInsetTop: scrollIndicatorInsetTop - StatusBar.currentHeight,
|
||||
containerPaddingTop: containerPaddingTop - statusbarHeight,
|
||||
scrollIndicatorInsetTop: scrollIndicatorInsetTop - statusbarHeight,
|
||||
translateY,
|
||||
progress,
|
||||
opacity,
|
||||
|
|
|
|||
正在加载…
在新工单中引用