Topic: MDB Modal + Select scrollling bug

buesser priority asked 1 year 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


iMDatec_tkunick 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.


Kamila Pieńkowska staff answered 1 year ago


This is a bug and we need to fix it.


iMDatec_tkunick priority commented 3 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"



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: Priority
  • 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