How to limit .mdb-select dropdown?


Topic: How to limit .mdb-select dropdown?

aungkohein pro asked 6 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 pro premium commented 6 years ago

What do you mean by height? Please elaborate


aungkohein pro commented 6 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 pro premium answered 6 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
  • User: 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
Tags