Topic: mdb-select-2 Problems in the list opening position
Wanderson pro asked 1 year ago
Expected behavior When selecting a certain item in the selection box and when opening it again to select another item, the box must bring the previously selected item visible Actual behavior When selecting a certain item in the selection box and opening it again to select another item, the box always moves to the end, which greatly hinders usability. Resources (screenshots, code snippets etc.)
Arkadiusz Idzikowski staff answered 1 year ago
Please try to change the optionHeight
syntax to [optionHeight]="35"
. It looks like there is a problem with automatic type coercion from string to number.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB4 15.0.0
- Device: ALL
- Browser: ALL
- OS: ALL
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 1 year ago
I tried to reproduce this bug on my end but it looks like everything is working as expected.
Could you please edit your post and provide an example HTML/TS code on which I will be able to reproduce the problem?
Wanderson pro commented 1 year ago
The component has problems when changing the optionHeight property.
In my case it is set to 35.
Wanderson pro commented 1 year ago
The mdb-auto-completer component has the same problem.