Topic: MDBAngular sidenav showing background image for ngFor

skota free asked 3 weeks 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.?

Grzegorz Bujański staff answered 3 weeks 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: Free
  • 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