Git Product home page Git Product logo

Comments (5)

isteven avatar isteven commented on July 21, 2024

Hi @andyczerwonka ,

You have to adjust it from the CSS file. Find a class named checkboxlayer and add:

  • max-height: xxx px;
  • overflow-y: scroll;

The next version will have this height setting as an attribute.

from angular-multi-select.

apedrolli avatar apedrolli commented on July 21, 2024

It works! But what if I wanted to scroll only the item list instead of all the widget (keep filter and buttons always visible)?

UPDATE: Found the way. Just need to add a div that contains the one with ng-repeat and give to that a class with the previously discussed css properties. Great job!

UPDATE: Example

.multiSelect .scroll {
position: relative;
overflow-y: scroll;
max-height: xxx px;
border-top: 1px solid #f2f2f2;
}

and set max-height: xxx px; overflow-y: hidden; in the class named checkboxlayer

from angular-multi-select.

isteven avatar isteven commented on July 21, 2024

Hi @apedrolli ,

Great that you managed to work it yourself :)

The next version will include this feature. Star this repository to get information on the next version.

from angular-multi-select.

andyczerwonka avatar andyczerwonka commented on July 21, 2024

Great guys - I will wait for this feature instead of modifying the CSS myself.

from angular-multi-select.

malu-ns avatar malu-ns commented on July 21, 2024
max-height: xxx px;
overflow-y: scroll;

Dis is not working in firefox multiselect>button.Any Idea?

from angular-multi-select.

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.