question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to overlap the backdrop over StatusBar?

See original GitHub issue

I am now using a BottomSheetModal by wrapping it inside the BottomSheetModalProvider. The Backdrop is working fine but it doesn’t overlap the StatusBar. Can you please give me any ideas for that.

Screenshot_2022-01-16-23-37-05-715_com budgety

<BottomSheetModal
      ref={bottomSheetRef}
      enablePanDownToClose={true}
      backdropComponent={renderBackdrop}
      snapPoints={animatedSnapPoints}
      handleHeight={animatedHandleHeight}
      contentHeight={animatedContentHeight}>
      <BottomSheetView
          style={contentContainerStyle}
          onLayout={handleContentLayout}>
          <Text>Hello world</Text>
      </BottomSheetView>
</BottomSheetModal>

The above code is how did I implement for bottom sheet. And the following one is the renderBackdrop function.

const renderBackdrop = useCallback(
    props => (
      <BottomSheetBackdrop
        disappearsOnIndex={-1}
        appearsOnIndex={0}
        {...props}
      />
    ),
    [],
);

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:9

github_iconTop GitHub Comments

7reactions
github-actions[bot]commented, Jan 16, 2022

@MrPhyaeSoneThwim: hello! 👋

This issue is being automatically closed because it does not follow the issue template.

1reaction
hizbullaharifcommented, Sep 24, 2022

also this but not yat solved

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found