monks/overscroll_behavior_inline
The overscroll-behavior-inline CSS property sets the browser’s behavior when the inline direction boundary of a scrolling area is reached.
See {{cssxref(“overscroll-behavior”)}} for a full explanation.
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 {{Glossary(“Scroll_chaining”, “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-inline
pub const revert_layer: #(String, String)