Git Product home page Git Product logo

Comments (5)

isteven avatar isteven commented on July 21, 2024 1

Hi markbairlift,

Thanks for your interest in the directive.

By default it will extend all the way, but you can control a lot of visuals by modifying the CSS file.

Try to open the CSS file and find this part which controls the popup layer:

.multiSelect .checkboxLayer {
    background-color: #fff;
    position: absolute;
    z-index: 999;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box; 
    padding: 15px;
    min-width:270px;
}

In this class you can add something like..

    ...
    max-height: 300px; 
    overflow: auto; /* or scroll */            
    ....

Then it'll show a vertical scrollbar when it's higher than 300px.

Does this answer the problem?

from angular-multi-select.

markbairlift avatar markbairlift commented on July 21, 2024

That's exactly what I needed to know. Thanks for the quick reply!

from angular-multi-select.

isteven avatar isteven commented on July 21, 2024

Alright, no problem. Thanks mark!

from angular-multi-select.

onnorh avatar onnorh commented on July 21, 2024

How you set the input control (NOT the drop down width) to be a fixed width?

from angular-multi-select.

isteven avatar isteven commented on July 21, 2024

HI @onnorh ,

Can you describe which input? Is it the search box?

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.