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

Olivier


steve.wright@essvote.com priority commented 1 year ago

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



@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 free commented 1 year ago

great! thanks !


Arkadiusz Idzikowski staff commented 1 year 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

  • ForumUser: 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