Does mdb-select have a open up behavior?


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

digitalmanagerguru pro asked 3 months 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 3 months 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.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.8.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No
Tags