Topic: Does mdb-select have a open up behavior?

digitalmanagerguru free asked 4 years ago


Hi there,

I want to know if the mdb-select have a ".dropup" class as dropdown have? I saw that it applies a style with top:0 and I wanted to change to bottom:0.

Is there a quick access to change that behavior?

Last case scenario I'll make this simple edit:

.colorful-select .dropdown-content {
  bottom: 0;
  top: unset !important;
}

Thanks, Best Regards


Krzysztof Wilk staff answered 4 years ago


Hello!

You should add top: auto ! important; and bottom: 0; properties to .select-dropdown class in your CSS. Here you can see it: https://mdbootstrap.com/snippets/jquery/mikolaj-smolenski/856848



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No