Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pro Version 2.0.1 issue perfect-scrollbar #56

Open
surendrasoniblr opened this issue May 14, 2018 · 4 comments
Open

Pro Version 2.0.1 issue perfect-scrollbar #56

surendrasoniblr opened this issue May 14, 2018 · 4 comments

Comments

@surendrasoniblr
Copy link

perfect-scrollbar is working in old version of 1.4 but its not working in 2.0.1 Please fix this issue. I tried to fix but not able to fix it. Please help.

@groovemen
Copy link
Contributor

groovemen commented Jun 12, 2018

Hello @surenslab, thank you for using our products, I check the light-bootstrap-dashboard.js file and saw that the perfectScrollbar() is initialized, also the perfectScrollbar works fine in the Live Preview. I will ask you to provide more details about this issue.

All the best, Stefan

@surendrasoniblr
Copy link
Author

image

Are you Sure about it?

@groovemen
Copy link
Contributor

Hello again,

I will give you the block of code that you need to check if your machine's operating system

(function() {
  isWindows = navigator.platform.indexOf('Win') > -1 ? true : false;

  if (isWindows) {
  // if we are on windows OS we activate the perfectScrollbar function
    $('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar();
    $('html').addClass('perfect-scrollbar-on');
    
  } else {
    $('html').addClass('perfect-scrollbar-off');
  }
})();

Best,
Stefan

@uzairsheikh079
Copy link

Hello Groovemen, I am facing the same issue. I dont understand that if I remove this code then my sosftware search function JS is not working and If I remain this code then mobile screen sidebar and other functionalities with setting option is not working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants