Picture of Chris Gillison
Trickle scroll stopping when content is in view
by Chris Gillison - Saturday, 23 November 2019, 10:39 AM
 

Hi all,

I'm using framework 4.3.0 with adapt-contrib-trickle v3.0.1.

If I set "_scrollTo": "@article +1" on an article, clicking the trickle button scrolls the page up but only until the content of the next article is in view and then it stops.

Is there a way to change that behaviour so it scrolls up until the top edge of the 'scrolled-to' article is a the top of the window? I'm going nuts trying to get it to work!

Many thanks. Chris

(Background: My article height is calculated using css height: calc(100vh - 40px) where 40px is the height of the navigation area, so each article fills the screen. I need trickle to scroll up so the full article is onscreen, regardless of how much content is contained within article-inner, blocks etc)

Picture of Chris Gillison
Re: Trickle scroll stopping when content is in view
by Chris Gillison - Saturday, 23 November 2019, 1:52 PM
 

Ah. Found it! "_onChildren": false