overscroll-behavior
Utilities for controlling how scroll chaining behaves at the boundary of a scrollable container.
ISS preview

Examples
Section titled “Examples”use iss::{scroll_box_tw, tw};
let drawer = scroll_box_tw(items, tw!("h-80 overflow-y-auto overscroll-contain"));use iss::typed::*;
let style = IssStyle::new().h(80).overflow_y_auto().overscroll_contain();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
overscroll-auto |
overscroll-behavior: auto; |
.overscroll_auto() |
overscroll-contain |
overscroll-behavior: contain; |
.overscroll_contain() |
overscroll-none |
overscroll-behavior: none; |
.overscroll_none() |
overscroll-x-contain / y-contain |
overscroll-behavior-x/y: contain; |
.overscroll_y_contain() |
Behavior Notes
Section titled “Behavior Notes”overscroll-containstops wheel scroll events from bubbling to outer scrollables when the inner pane reaches its boundary.