Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to limit .mdb-select dropdown?

aungkohein pro asked 5 years ago


Hi!

How can I adjust the height of the dropdown? I'm using mdb-pro .mdb-select.

size="5" doesn't work.

Please help! =D


Sebastian Kaczmarek staff commented 5 years ago

What do you mean by height? Please elaborate


aungkohein pro commented 5 years ago

At certain position of the broswer, the dropdown will show full height (10-13 items) upwards. Hence, the search input box is blocked by my header bar. User cannot click into the search input.

I would like to fix the height of the dropdown to like to show only 7 items then activate scroll bar.

In default html, we use size=“5” in the input tag :)


Sebastian Kaczmarek staff answered 5 years ago


I don't like to say that, but currently, there is no option to do so. We need to change the behavior to allow user-provided options for that. Adding to the todo list



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: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No