Repository navigation
Releases: ansumanshah/scrollsheet
Releases · ansumanshah/scrollsheet
Release list
v1.2.0
animationSpeedonSheet.Rootmakes every sheet animation faster or slower (#1).2halves every duration and0.5doubles it: the open/close spring, programmatic detent travel, the content-height morph, and the backdrop, recede, andbackgroundEffecttransitions. The spring keeps its shape (same damping ratio, no added overshoot), and an interrupted leg still hands its velocity to the next one. Finger-driven travel is unaffected andprefers-reduced-motionstill wins.Drawer.RootandDialog.Rootforward it.- Fixed:
backgroundEffectsnapped instead of easing with the sheet. The page wrapper sits outside the dialog, so the--scrollsheet-durand--scrollsheet-easevariables its transition referenced had no value there, which voided the whole declaration. It now carries literal spring timing. - Fixed: changing
detents(or vaulsnapPoints) while a sheet was open had no effect. The snap stops kept the old list and a newactiveDetentresolved against it. The sheet now re-measures and moves to the new stop. - Fixed: the second Android back gesture navigated away when a Toaster still had toasts left, or when a controlled non-modal sheet refused the first close. A close watcher only fires once; it now re-arms.
- Toast fixes for Sonner parity. Escape in the toast region no longer dismisses a
dismissible: falsetoast.toast.promiseshows no loading toast whenloadingis omitted, and dismisses instead of showing a made-up "Success" or "Error" toast when the settled branch has no handler.toastOptions.classNameon the Toaster now reaches every toast. - Fixed:
Sheet.Handleannounced a numeric pixel detent such as320as "32000%". - The
Sheetentry dropped from 16.9 to 16.4 kB gzip, with all of the above included. Nested-scroll support (thedata-scrollsheet-nested-scrollhandoff and its overlay thumbs) now loads only when a sheet contains such a region, and the iOS body freeze loads only on iOS. Every entry shrinks by about 1 kB: Drawer 17.2, Dialog 15.9, the zero-configautoentry 20.8. Each system behaves as before once loaded, and a failed chunk fetch degrades that one system the same way the keyboard engine already does.