Skip to main content

run_post_scroll

Function run_post_scroll 

Source
pub fn run_post_scroll(
    connection: &RefCell<Option<NestedScrollConnection>>,
    consumed: Vec2,
    available: Vec2,
    source: NestedScrollSource,
) -> Vec2
Expand description

Dispatch leftover scroll to the parent chain and return what remains after the chain’s consumption. consumed is the amount already consumed before reaching this helper (by pre-scroll and by this scroller).