Static DEFINE_VIEWPORT_UNIT_VAR

Source
pub static DEFINE_VIEWPORT_UNIT_VAR: ContextVar<bool>
Expand description

If a scroll widget defines its viewport size as the LayoutMetrics::viewport for the scroll content.

This is true by default.