top of page
Here is my challenge: Programatically Scroll within a sticky box with overflow content set to scroll.
Context:
We have a sticky box with a big repeater in it. The sticky box must have overflow content: scroll. On top of the repeater, we have some tags. When clicking a tag, scroll to the relevant item.
Challenge:
The scrollBy() and scrollTo() methods won't work because they apply to the page. I had no success with getBoundingRect neither. The closest I managed was to play with CSS to hide/show and translate the repeater's items but then, the normal mouse scrolling does not work and it becomes more of a pagination system. I am curious if you can find a solution for this.
I love all your content, keep it up!
DESCRIPTION
VOTE
EXAMPLES
Sticky Box Programmatically Scroll
bottom of page