Giter VIP home page Giter VIP logo

Comments (8)

Nalindadsn avatar Nalindadsn commented on May 10, 2024 2

yes its not working

from material-kit-react.

AppElent avatar AppElent commented on May 10, 2024 1

Bump!

from material-kit-react.

Dhruv1993 avatar Dhruv1993 commented on May 10, 2024 1

Change line 33 to
{ path: '/', element: <Navigate to="/login" /> },

Default route will now point to login when running localhost:3000

from material-kit-react.

navegeri avatar navegeri commented on May 10, 2024 1

The problem is with the xlUp and lgDown in the hidden components in DashboardNavbar and DashboardSidebar. It leaves the lg option with both parts hidden as seen in the picture.
When changing both to xlUp and xlDown or lgUp and lgDown it works just fine.

from material-kit-react.

Dhruv1993 avatar Dhruv1993 commented on May 10, 2024

if you increase the width above 1550 it works

from material-kit-react.

Dhruv1993 avatar Dhruv1993 commented on May 10, 2024

Changes for everything to work normally as expected!!

  1. In DashboardNavbar.js change 27 to 45:

<Hidden only={['xs', 'md', 'sm']}> <IconButton color="inherit" size="large"> <Badge badgeContent={notifications.length} color="primary" variant="dot" > <NotificationsIcon /> </Badge> </IconButton> <IconButton color="inherit" size="large"> <InputIcon /> </IconButton> </Hidden> <Hidden only={['lg', 'xl']}> <IconButton color="inherit" onClick={onMobileNavOpen} size="large"> <MenuIcon /> </IconButton> </Hidden>

  1. DashboardSidebar.js
    Change the line 134 to 165:
    `{openMobile && (
    <Drawer
    anchor="left"
    onClose={onMobileClose}
    open={openMobile}
    variant="temporary"
    PaperProps={{
    sx: {
    width: 256
    }
    }}
    >
    {content}

    )}

    <Hidden only={['xs', 'md', 'sm']}>
    <Drawer
    anchor="left"
    open
    variant="persistent"
    PaperProps={{
    sx: {
    width: 256,
    top: 64,
    height: 'calc(100% - 64px)'
    }
    }}
    >
    {content}

    `

from material-kit-react.

arobert93 avatar arobert93 commented on May 10, 2024

We updated the design and this includes a fix for the sidebar.

from material-kit-react.

navegeri avatar navegeri commented on May 10, 2024

from material-kit-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.