How does React Semantic UI achieve the folding menu function of Bootstrap 3?

how does React Semantic UI achieve the folding menu function of Bootstrap 3? Can
push up the height and squeeze the content down?

currently, if you do it with Semantic Sidebar Pusher, you will encounter the problem that the height will not increase automatically.
is as follows: status
https://stackblitz.com/edit/r.

Bootstrap
:
https://codepen.io/jaosnhsieh...

current Semantic React UI code:
you can click this edit:
https://stackblitz.com/edit/r.

.
import React, { Component } from "react";
import { render } from "react-dom";
import "./style.css";
import {
  Sidebar,
  Segment,
  Button,
  Menu,
  Image,
  Icon,
  Header,
  Dropdown
} from "semantic-ui-react";


class App extends Component {
  state = { visible: false };

  toggleVisibility = () => this.setState({ visible: !this.state.visible });

  render() {
    const { visible } = this.state;
    return (
      <div>
        <Button onClick={this.toggleVisibility}>Toggle Visibility</Button>
        <Sidebar.Pushable as={Segment}>
          <Sidebar
            as={Menu}
            animation="push"
            direction="top"
            visible={visible}
            inverted
            vertical
          >
            <Menu.Item name="home">
              <Icon name="home" />
              Home
            </Menu.Item>
            <Menu.Item name="gamepad">
              <Icon name="gamepad" />
              Games
            </Menu.Item>
            <Menu.Item name="camera">
              <Icon name="camera" />
              Channels
            </Menu.Item>
          </Sidebar>
          <Sidebar.Pusher>
            <Segment basic> 
            <Header as="h3">Content</Header>
            </Segment> 

          </Sidebar.Pusher>
        </Sidebar.Pushable>
      </div>
    );
  }
}


render(<App />, document.getElementById("root"));
Mar.09,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46bdd-44be7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46bdd-44be7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?