Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ const options = {

const ANIMATION_DURATION = 190;

function BottomSheetNavigationContainer( { children, animate, main, theme } ) {
function BottomSheetNavigationContainer( {
children,
animate,
main,
theme,
style,
} ) {
const Stack = useRef( createStackNavigator() ).current;
const context = useContext( BottomSheetNavigationContext );
const [ currentHeight, setCurrentHeight ] = useState(
Expand Down Expand Up @@ -129,11 +135,7 @@ function BottomSheetNavigationContainer( { children, animate, main, theme } ) {

return useMemo( () => {
return (
<View
style={ {
height: currentHeight,
} }
>
<View style={ [ style, { height: currentHeight } ] }>
<BottomSheetNavigationProvider
value={ {
setHeight,
Expand Down
6 changes: 5 additions & 1 deletion packages/editor/src/components/editor-help/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ function EditorHelpTopics( { close, isVisible, onClose } ) {
contentStyle={ styles.contentContainer }
testID="editor-help-modal"
>
<BottomSheet.NavigationContainer animate main>
<BottomSheet.NavigationContainer
animate
main
style={ styles.navigationContainer }
>
<BottomSheet.NavigationScreen
isScrollable
fullScreen
Expand Down
4 changes: 4 additions & 0 deletions packages/editor/src/components/editor-help/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
color: $dark-primary;
}

.navigationContainer {
overflow: hidden;
}

.container {
height: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ For each user feature we should also add a importance categorization label to i
## Unreleased
- [*] [Embed block] Fix inline preview cut-off when editing URL [#35321]
- [*] [Unsupported Block Editor] Fix text selection bug for Android [#34668]
- [*] Fixed erroneous overflow within editor Help screens. [#35552]

## 1.63.0
- [**] [Embed block] Add the top 5 specific embed blocks to the Block inserter list [#34967]
Expand Down