Browser support
Support by browser
Section titled “Support by browser”| Browser | Spring easing | Compositor-driven backdrop dim + --scrollsheet-progress |
|---|---|---|
| Chrome / Edge | 113+ | 115+ |
| Safari | 17.2+ | 26+ |
| Firefox | 112+ | Feature-detected; JavaScript fallback |
Caveats
Section titled “Caveats”Without <dialog>
Section titled “Without <dialog>”The Can I Use dialog data reported 97.12% support on 2026-11-04. Counting unknown usage as unsupported gives a conservative 2.88% without native dialog support. Unknown traffic is included in that estimate, not evidence of a known browser limitation.
| Browsers without native dialog support | |
|---|---|
| You get | A fixed-position modal: backdrop, tap-to-close, Escape, focus moved into the panel on open and restored to the trigger on close, body scroll locked. Panel sizes to content up to 85% of the viewport, then scrolls internally |
| Gone | Detents, drag, the enter/exit animation, the top layer (panel portals to <body> with a max z-index instead of a guarantee), the native focus trap. Sheet.Handle renders nothing |
| Still works | Every --scrollsheet-* theming variable (-bg, -fg, -radius, -shadow, -backdrop, safe-area) resolves the same way. isSupported() reports which path a browser takes |
The fallback keeps the content available without reproducing the native dialog or gesture engine.
To provide your own fallback, check isSupported() after mount. This keeps the server and
first client render consistent:
import { useEffect, useState } from 'react';import { Sheet, isSupported } from 'scrollsheet';import 'scrollsheet/styles.css';
const [supported, setSupported] = useState(false);useEffect(() => setSupported(isSupported()), []);
if (!supported) return <LegacyModal open={open} onClose={onClose} />;return <Sheet.Root open={open} onOpenChange={(next) => { if (!next) onClose(); }}>...</Sheet.Root>;API referenceProps, styling hooks, and exports.