Topic: MDB Modal + Select scrollling bug
buesser 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
Thanks so much Severin
Kamila Pieńkowska staff answered 11 months ago
This is a bug and we need to fix it.
iMDatec_tkunick 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"
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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