Topic: mdbSticky directive not fixing content as expected

PW4U pro asked 4 years ago


Expected behavior Add directive to any html tag and expect to stay fixed on top while scrolling browser. Actual behavior Add directive to and content scrolls up while I scroll down disappering from view. Resources (screenshots, code snippets etc.)

assignment_turned_in Title 1

extension Title 2

    <hr>
    <p>Body text</p>
</mdb-card-body>
<mdb-card-footer class="mdb-color lighten-3 text-center">
</mdb-card-footer>


Konrad Stępień staff answered 4 years ago


Hi @PW4U,

mdbSticky component are sticky for wrapper.

Please visit the similar problem: https://mdbootstrap.com/support/angular/angular-mdbsticky-documentation-is-unclear/

Can you again provide code from the topic?

Best, Konrad.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.10.0
  • Device: Computer
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No