dropdown doesn't move when the screen is scrolled


Topic: dropdown doesn't move when the screen is scrolled

hulkito asked 2 years 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

Olivier


steve.wright@essvote.com pro premium priority commented 2 years ago

Did your issue get fixed? I see others having the same issue and we do, too.


Arkadiusz Idzikowski staff answered 2 years ago

@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


hulkito commented 2 years ago

great! thanks !


Arkadiusz Idzikowski staff commented 2 years ago

This problem should no longer occur in v3.0.0. Please upgrade your version.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • 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
Tags