Topic: Scrolling MDB Select Options on Mobile Devices
Graham Meehan
asked a year ago
Expected behavior
An MDB Select which can scroll through its select-items in a manner normally expected on mobile devices. (Touch anywhere in a list and drag to begin scrolling)
Actual behavior
Touch-scrolling on mobile devices (or with mobile-mode active in Development Mode in Chrome) will either close the dropdown prematurely or unintentionally select a dropdown option if the user starts touch-scrolling directly on top of a dropdown option.
Successful scrolling can only be carried out if the user touches inside the unordered-list (ul) element but not inside of one of the contained list-item (li) elements, which is usually too small of a space to selectively touch on a mobile device.
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/jquery/graham_meehan/1406048
Graham Meehan
answered a year ago
Sebastian Kaczmarek
staff pro premium answered a year ago
gianlucagiacometti
pro answered a year ago
Resolved
- User: Free
- Premium support: No
- Technology: jQuery
- MDB Version: 4.8.11
- Device: Mobile
- Browser: Chrome
- OS: Android
- Provided sample code: No
- Provided link: Yes