Topic: dropdown doesn't move when the screen is scrolled
hulkito free asked 1 year ago
Hello, I am surprised that in the examples of your documentation, when I inspect the generated code, there is no trace of CDK overlay , the dropdown is opened relatively to the trigger button. In our application, a CDK overlay container is created when we use the mdb dropdown directive (with a mdbDropdownMenu), and unfortunately the result is when we scroll ou screen , the content of the page scrolls well but the dropdown remains at a fixed place.... Is it normal ?
Thanks in advance
@hulkito The difference in the code you see is due to the fact that in the documentation, we use code from our Standard library to display live preview. We try to keep the exact same functionality and appearance of all components in every MDB UI kit library and we always add fixes if there are any bugs.
We are already aware of this strange behavior on a scroll and I think we already found a solution. We still need to make some tests to make sure it will work correctly in every component with a dropdown menu.
Edit: This behavior was changed in v3.0.0
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 1.6.1
- Device: PC
- Browser: chrome
- OS: windows 10
- Provided sample code: No
- Provided link: No