Topic: MDBAngular sidenav showing background image for ngFor

skota pro asked 1 year ago

Expected behavior

Mask should be applied when we scroll

Actual behavior

Mask is applied only for initial viewport height


Static data is working fine, but if we use ngFor and build accordion, its failing.

Resources (screenshots, code snippets etc.)

enter image description here



  1. Get the height of links
  2. Set the height of mask to height of links + 300px

Can you please fix it or provide a better workaround.?

Arkadiusz Idzikowski staff answered 7 months ago

We added a fix for this bug in v15.0.0.

skota pro answered 11 months ago

Another workaround is to update in HTML


Grzegorz Bujański staff answered 1 year ago

Thanks for reporting. We will check it and try to fix it

Please insert min. 20 characters.


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



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB4 13.0.0
  • Device: dell laptop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes