Skip to content

Commit

Permalink
fix: prevent not updating translateY if not providing the headerHeight
Browse files Browse the repository at this point in the history
fix #52
  • Loading branch information
PedroBern committed Jan 26, 2021
1 parent 594f92e commit 71cf7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createCollapsibleTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const createCollapsibleTabs = <
},
],
}
}, [diffClampEnabled])
}, [diffClampEnabled, headerHeight])

const getHeaderHeight = React.useCallback(
(event: LayoutChangeEvent) => {
Expand Down

0 comments on commit 71cf7f4

Please sign in to comment.