Skip to main content

MAX_SCROLL_BY

Constant MAX_SCROLL_BY 

pub const MAX_SCROLL_BY: u32 = 10_000; // 10_000u32
Expand description

How far one scroll may ask to travel in one go, CSS pixels: a wheel notch moves about 100, and a bounded distance keeps one request a bounded amount of work for the page.