Coder Social home page Coder Social logo

Comments (8)

sconix avatar sconix commented on July 17, 2024

I haven't noticed any problems on iOS devices. We are nearing a release of our project which uses this library and is required to work on wide range of mobile devices, if we find any problems during the final testing period I will add tweaks / fixes etc.

Are you sure that your styles or the div structure is not causing the problem? We are using the component atm and at least with that I haven't noticed any problems.

from ngx-perfect-scrollbar.

Flood avatar Flood commented on July 17, 2024

@sconix: I've tried the component instead.

HTML
<perfect-scrollbar class="col-xs-12 col-sm-9 col-md-8 col-lg-8 site-content-container">
	//stuff		
</perfect-scrollbar>
CSS
.site-content-container {
  max-height: 100vh;
  overflow-y: auto;
  display: inline-block;

  @include media-breakpoint-down(sm) {
    max-height: calc(100vh - 48px);
  }
}

I need a max-height in order for the scroll to show up. Do you have a max-height, height or min-height on your component?

from ngx-perfect-scrollbar.

sconix avatar sconix commented on July 17, 2024

I don't think we are using max-height anywhere, we rely on flex layout and are using flex-layout library.

from ngx-perfect-scrollbar.

sconix avatar sconix commented on July 17, 2024

In the previous release I added disabled property so that one can disable the PS functionality. So you should be able to use that on mobile if you want to have the native scrolling.

from ngx-perfect-scrollbar.

maikldan avatar maikldan commented on July 17, 2024

sorry but disable function doesn't work(

from ngx-perfect-scrollbar.

sconix avatar sconix commented on July 17, 2024

Disable just unloads perfect-scrollbar so it works. When disabled you can style the classes so that you get normal scrollable area.

from ngx-perfect-scrollbar.

maikldan avatar maikldan commented on July 17, 2024

from ngx-perfect-scrollbar.

sconix avatar sconix commented on July 17, 2024

Not sure what do you mean. Are you still talking about disable true option? If yes then what I am trying to say that when disabled this lib basically does nothing i.e. you need to make the scrolling area yourself with styles etc.

from ngx-perfect-scrollbar.

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.