Giter Site home page Giter Site logo

Comments (5)

dragosct avatar dragosct commented on May 20, 2024

Hi, @unoiatech! Thank you for using our products. Please, give us your link to the project to see what is happening there because we can't reproduce the issue.

Regards,
Dragos

from vue-material-dashboard.

unoiatech avatar unoiatech commented on May 20, 2024

Hi,

link to our project : http://vuedashboard.surge.sh/#/dashboard

there is also issue with scrolling.when we scroll to the bottom of a page and open another page the page loads from the bottom not from the top.the page opens from the last scrolled position.please check.

Thanks

from vue-material-dashboard.

dragosct avatar dragosct commented on May 20, 2024

Hi! To fix the problem with the scroll on top please go in src/main.js and put this:

// configure router
const router = new VueRouter({
  routes, // short for routes: routes
  scrollBehavior: to => {
    if (to.hash) {
      return { selector: to.hash };
    } else {
      return { x: 0, y: 0 };
    }
  },
  linkExactActiveClass: "nav-item active"
});

Regard to the problem with the sidebar I can't realise where it's problem, everything looks good on your website.

Regards,
Dragos

from vue-material-dashboard.

unoiatech avatar unoiatech commented on May 20, 2024

Hi Dragos,

the solution you provided for scrolling does not work.The page start from last scrolled position when we go to new page.
Please look into the sidebar issue also.I am also attaching the screenshot how the sidebar opens on mac.
The sidebar take different widths on windows and mac.The sidebar width is fixed on windows but not on mac.

screenshot: https://prnt.sc/n4kax4

Thanks

from vue-material-dashboard.

dragosct avatar dragosct commented on May 20, 2024

Hi! The solution that I gave it to you it's an official one from the vuejs: https://router.vuejs.org/guide/advanced/scroll-behavior.html and in our side, this works. I will attach you a video to show you that on our MacBooks there are no different widths and we can't reproduce the issue to tell you how to fix it. The video was made on Chrome, but it also works in Safari.

sidebar-vue-md-pro.mov.zip

Regards,
Dragos

from vue-material-dashboard.

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.