feat(Popup): add safe-area-inset-bottom prop (#4419)

This commit is contained in:
neverland
2019-09-10 20:15:24 +08:00
committed by GitHub
parent 50aa27fc64
commit a80773e19e
6 changed files with 15 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ function ActionSheet(
return (
<Popup
class={bem({ 'safe-area-inset-bottom': props.safeAreaInsetBottom })}
class={bem()}
position="bottom"
round={props.round}
value={props.value}
@@ -128,6 +128,7 @@ function ActionSheet(
lockScroll={props.lockScroll}
getContainer={props.getContainer}
closeOnClickOverlay={props.closeOnClickOverlay}
safeAreaInsetBottom={props.safeAreaInsetBottom}
{...inherit(ctx, true)}
>
{Header()}