enableScrollTransition

fun enableScrollTransition(enable: Boolean, show: Boolean = true)

Configures whether scroll transitions are enabled.

Parameters

enable

true to enable scroll transitions, false to disable.

show

Target visibility when disabled.


true to allow show/hide transitions triggered by content scrolling.