Scroll Into View Action
Invoke the specified event when the element scrolls into view
Last updated
Was this helpful?
Invoke the specified event when the element scrolls into view
Last updated
Was this helpful?
Scroll trigger interactions currently don’t work on iOS devices (iPhone, iPad, iPod) due to Apple’s security restrictions on running scripts during browser scrolling. This limitation is documented in the Apple developer library.
Trigger a modal
sa-action-scrollintoview
= ( event name ) Place on any element that should be invoke the specified event when it is scrolled into view.
Assign whatever event name you like, depending on your trigger-event-action setup.
sa-action-scrollintoview:behavior
smooth ( default )
sa-action-scrollintoview:block
center ( default )
sa-action-scrollintoview:inline
nearest ( default )