Skip to content

Commit

Permalink
Merge pull request #230 from jagltoro/fix-padding-nan
Browse files Browse the repository at this point in the history
Fix padding undefined
  • Loading branch information
ammarahm-ed authored Oct 13, 2022
2 parents 1b01954 + 894abd7 commit 003226b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ export default forwardRef<ActionSheetRef, ActionSheetProps>(

if (!props.useBottomSafeAreaPadding && props.containerStyle) {
return (
props.containerStyle?.paddingBottom || props.containerStyle.padding
props.containerStyle?.paddingBottom || props.containerStyle.padding || 0
);
}
if (!props.containerStyle && props?.useBottomSafeAreaPadding) {
Expand Down

1 comment on commit 003226b

@vercel
Copy link

@vercel vercel bot commented on 003226b Oct 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

rnas – ./

rnas.vercel.app
rnas-git-master-ammarahm-ed.vercel.app
rnas-ammarahm-ed.vercel.app

Please sign in to comment.