Skip to content

Commit

Permalink
fix: fixed extracting paddingBottom in scrollable components
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Jul 31, 2020
1 parent 4c57b9f commit 64cef61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/flatList/FlatList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const FlatList = forwardRef(
const contentContainerStyle = useMemo(() => {
const {
//@ts-ignore
paddingBottom,
paddingBottom = 0,
// @ts-ignore
...restContentContainerStyle
} = _contentContainerStyle;
Expand Down
2 changes: 1 addition & 1 deletion src/components/scrollView/ScrollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const ScrollView = forwardRef(
const contentContainerStyle = useMemo(() => {
const {
//@ts-ignore
paddingBottom,
paddingBottom = 0,
// @ts-ignore
...restContentContainerStyle
} = _contentContainerStyle;
Expand Down
2 changes: 1 addition & 1 deletion src/components/sectionList/SectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const SectionList = forwardRef(
const contentContainerStyle = useMemo(() => {
const {
//@ts-ignore
paddingBottom,
paddingBottom = 0,
// @ts-ignore
...restContentContainerStyle
} = _contentContainerStyle;
Expand Down

0 comments on commit 64cef61

Please sign in to comment.