monks/overscroll_behavior
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
Values
pub const auto_: #(String, String)
- : The default scroll overflow behavior occurs as normal.
pub const contain: #(String, String)
- : Default scroll overflow behavior (e.g., “bounce” effects) is observed inside the element where this value is set. However, no scroll chaining occurs on neighboring scrolling areas; the underlying elements will not scroll. The
containvalue disables native browser navigation, including the vertical pull-to-refresh gesture and horizontal swipe navigation.
pub const none: #(String, String)
- : No scroll chaining occurs to neighboring scrolling areas, and default scroll overflow behavior is prevented.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for overscroll-behavior
pub const revert_layer: #(String, String)