Infinite Scroll (Direction) Documented Code not Working


Topic: Infinite Scroll (Direction) Documented Code not Working

scottwilliams pro premium priority asked 5 months ago

Expected behavior

Icons should infinite load and scroll horizontally

Actual behavior

Script in documentation does not work for directional infinite scrolling. See my snippet below.

Resources (screenshots, code snippets etc.)

Here's a snippet taken directly from: https://mdbootstrap.com/docs/standard/methods/infinite-scroll/#section-direction

Snippet: https://mdbootstrap.com/snippets/standard/kellyjromer/5953393


Kamila Pieńkowska staff answered 5 months ago

It does work. But for scroll to appear there must be "to much" content for the size of container.

Resize your window to be smaller (not so wide) and when the scroll appear it works as expected.


scottwilliams pro premium priority commented 5 months ago

Apologies. I expected it to load all the new images from the start regardless of the container size then apply the scrolling accordingly. But thank you.


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: MacOS Sonoma 14.3
  • Provided sample code: No
  • Provided link: Yes