Collapsible top tab navigator when scrolling - reactjs

I want to implement a collapsible top tab navigator when scrolling using react navigation as is found on WhatsApp, Twitter and other apps. Nothing in the react navigation documentation directly specifies this. How do I go about this please?

wix navigation has this feature. https://wix.github.io/react-native-navigation/#/
Specifically this option:
topBar: {
hideOnScroll: true
}

Related

How to collapse React Bootstrap mobile Navbar when tapping anywhere?

I would like to collapse the mobile react bootstrap navbar when tapping anywhere on the screen. I know collapseOnSelect exists to make the mobile navbar collapse when an item is selected, but I'd also like to achieve the same thing when the user taps anywhere on the screen. Not sure if its possible, I can't find anything in the documentation.
Thanks!

Material UI Drawer scrolls background page to top when opening

I am using material-ui as the UI package for an app.
In the app I'm using material-table with a custom infinite scroll.
When a row is clicked, a drawer opens from the right of the webpage.
Once the drawer opens, the background of the drawer (the infinite scroll table and general page) automatically scrolls back to the top of the page.
This makes this page very unfriendly to users.
I've tried the solutions that are mentioned here, but it doesn't seem to work.
I tried to use it like this:
<Drawer ModalProps={{disableRestoreFocus: true}} disableRestoreFocus>{content}</Drawer>
I couldn't find anymore information on material-ui github, or here on stack overflow.
Has anyone encountered this issue or know any other options I can try?
Thanks in advance.
For material-ui v4, you can add this attribute on the drawer component:
disableScrollLock={true}

sidebar nav with drawer?

I was wondering if anyone knew what it is called when you have a sidebar nav with a collapsible drawer and main panel layout? I see this pattern everywhere now I wanted to find a tutorial on how to implement it in react or electron but all the results I get are for some other type of sidebar. This pattern is used in desktop electron-based apps like slack, vs code and microsoft teams and web apps like jira use it as well.
Okay you can use the Paper component in the the material ui framework.
docs here

how to use Parent-child transitions with Material-ui on desktop

I have a list in a drawer that is docked to the browser screen (desktop) and I want to expand the content of the list item to fill the entire drawer when I click on it just like explained in this demo:
I could find ways of doing it using Android but not using react material-ui V1.0.
Has anyone already done something like it?

AppGyver steroids app - How to add scrolling to a Drawer

I implemented a drawer in my steroids application with similar styles as google+ drawer. However, I have several links on it, and when my device is in landscape mode I'm unable to see all the links, and I can't scroll the drawer.
I want to be able to scroll the drawer vertically as a normal webview, just like google+ drawer does.
Is that possible?
Can I embed a webview inside another?
I managed to fix this by adding heigh=device-height to the content meta tag. And I added overflow-x=hidden to just allow vertical scrolling.

Resources