Topic: Infinite Scroll (Direction) Documented Code not Working
scottwilliams priority asked 9 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 9 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 priority commented 9 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- 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