MDB Modal + Select scrollling bug


Topic: MDB Modal + Select scrollling bug

buesser pro premium priority asked 11 months ago

Expected behavior

The select can easily be used on devices even when there is not enough space for the complete modal.

Actual behavior

The select cannot be used at all. If I click or touchscreen tap on a select item it just select the previous item and it kicks me all the way up to the start of the modal.

I've attached a snippet and a short video clip aswell.This problem also occurs on small device notebooks in a real .html site not just in a small windowed browser on mdb snippets

Whats the problem here? Its only occuring when the display size is very small (smartphone size)

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/standard/severin-schmid/5740103

https://streamable.com/ieezuu

Thanks so much Severin


Kamila Pieńkowska staff answered 11 months ago

This is a bug and we need to fix it.


iMDatec_tkunick pro premium priority commented 2 months ago

It is not a real bug. You have to use select data-mdb-container option to resolve this problem.

https://mdbootstrap.com/docs/standard/forms/select/ --> section "Select with search inside a modal"


iMDatec_tkunick pro premium priority answered 9 months ago

Is there already a bug fix available?


Kamila Pieńkowska staff commented 9 months ago

No, it was not fixed yet.


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: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.2
  • Device: HP EliteBook 1030
  • Browser: Chrome
  • OS: Win 11
  • Provided sample code: No
  • Provided link: Yes