Sticky Content


Topic: Sticky Content

saladin pro asked 2 months ago

Expected behavior Sidebar Content should be sticking Actual behavior IT's not sticking
Resources (screenshots, code snippets etc.) Check the site. https://www.dildo-welt.info/megamenu.php


saladin pro answered 2 months ago

Yes but I would like to use the class "sticky". For some reason it does not work https://mdbootstrap.com/docs/jquery/javascript/sticky/


Grzegorz Bujański staff commented 2 months ago

Hi. I see it works on your site. I understand that you have dealt with the problem?


saladin pro commented 2 months ago

No not really. Check the Video please. https://drive.google.com/file/d/1o8wLJeKPJFnCWwI4GYdBqUiSqrKW_kGu/view?usp=sharing


Grzegorz Bujański staff commented 2 months ago

How can we reproduce this? Can you create a snippet here: https://mdbootstrap.com/snippets/ so that this problem occurs in it?


saladin pro commented 2 months ago

Check your own page. It's the same on mdbootstrap

https://mdbootstrap.com/docs/jquery/navigation/scrollspy/#list-item-2

https://drive.google.com/file/d/1yprcRE-ae-H_J7Azj-POvR4yW8XfSnP4/view?usp=sharing

I'm on Chrome and and macOS Catalina


Grzegorz Bujański staff commented 2 months ago

You're right. We'll fix it.


Tomek Makowski staff answered 2 months ago

Hi

try to use class position-fixed

Regards


saladin pro answered 2 months ago

I just moved the class sticky to the next div. Not it's sticking. But not continuously.


saladin pro answered 2 months ago

Hey, finally I made it somehow and it's on the webpage. But I'm facing another problem now. See the behavior of the anchor links. When clicking, it starts scrolling, slows down, and scrolls again. See Video here Video

or Like demo here Live Demo


Grzegorz Bujański staff commented 2 months ago

How can we reproduce this issue? Can you create a snippet to show us how to trigger this error?


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.19.0
  • Device: MacBook
  • Browser: Chrome
  • OS: iOS
  • Provided sample code: No
  • Provided link: Yes
Tags