Skip to content

Commit

Permalink
fix(BottomSheet): Default offset value wasn't good if flagship immers…
Browse files Browse the repository at this point in the history
…ive false
  • Loading branch information
JF-Cozy committed Jan 29, 2024
1 parent c26c50b commit b1551d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/BottomSheet/BottomSheet.jsx
Expand Up @@ -392,7 +392,7 @@ BottomSheet.defaultProps = {
toolbarProps: {},
backdrop: false,
offset:
(getFlagshipMetadata().immersive && getFlagshipMetadata().navbarHeight) ?? 0
(getFlagshipMetadata().immersive && getFlagshipMetadata().navbarHeight) || 0
}

BottomSheet.propTypes = {
Expand Down

0 comments on commit b1551d2

Please sign in to comment.