Changelog
v0.10.4
Release date: 2026-11-25
- Fix Silk not working on React 17: sheets and sheet stacks threw an error as they rendered, so nothing appeared.
- Fix a closed sheet's
<Sheet.View>never unmounting while the sheet keeps re-rendering, for example with a clock or a countdown inside it. It now unmounts a few seconds after closing, as it does when nothing re-renders. - Fix a sheet getting stuck in Chrome, Edge and Firefox when it closes or steps by less than about a pixel, for example a sheet whose content is about 1px tall, or a step between two detents of the same size in different units (
50vhand448pxon an 896px-tall screen). An error was thrown, the travel never ended, and the sheet's view stayed over the page, which no longer responded to clicks. #104 - Fix the page freezing, then an error, when a sheet whose content is 0px tall is presented, for example while its content loads. Such a sheet now presents, steps and dismisses like any other, with its backdrop dimmed, and
onTravelreports aprogressof 0 to 1 instead ofNaN. #104 travelAnimationandstackingAnimationnow end exactly on their final values after a spring animation, instead of slightly short of them.- Clarify in the API documentation that
forComponentselects an ancestor Root for Sheet and Scroll sub-components, and explain how<Island.Root>can target sheets and stacks from outside their Roots. #128
v0.10.3
Release date: 2026-11-17
- Fix an error thrown when a
<Scroll.View>unmounts shortly after it mounts or scrolls, for example on a route change. #122 - Fix errors thrown in Safari when a sheet whose
<Sheet.Backdrop>hasthemeColorDimming="auto"unmounts while it's open, opening or closing, for example on a route change. Some reached the app's error boundary. The theme color is restored. #122 #129 - Fix errors thrown in Safari when a component using
useThemeColorDimmingOverlayunmounts whileanimateDimmingOverlayOpacityis running. The theme color is restored, and an element that outlives the component finishes its animation. - Fix the theme color not following
animateDimmingOverlayOpacityfromuseThemeColorDimmingOverlayin Safari: an animation started as the component mounts didn't dim it, and the animated dimming was lost whendimmingColorchanged or an<Activity>hid then showed the component. - Fix
<Sheet.Outlet>and<SheetStack.Outlet>animations skipped when a sheet starts to open or close while the Outlet re-renders with a newstackingAnimationortravelAnimationobject, for example when the URL changes as the sheet is dismissed. The element stayed still: it didn't follow a sheet as it opened, stayed stacked when the sheet above it closed, or jumped to its final state at the end of a dismissal.
v0.10.2
Release date: 2026-11-12
- Fix the
displayNameof<Scroll.Trigger>, which React DevTools showed asSheet.Trigger. - Fix
scrollTimelineNameandscrollPaddingon a<Scroll.View>withpageScrollwhen native page scroll isn't replaced: they had no effect on the page's scroll. - Fix a page that overflows sideways jumping horizontally while a sheet is open.
- Fix
onTravelreceiving arangewithoutstartandendwhen the entering or stepping animation is skipped (skip: true).
v0.10.1
Release date: 2026-02-10
- Improve the safety of internal styles by protecting them from global style overrides.
v0.10.0 (breaking change)
Release date: 2025-10-21
- Fix a bug that may occur with small
<Sheet.Content>or small detents. - Change the behavior of the
exitingAnimationSettingsprop’scontentMoveoption behavior, whenfalsethe<Sheet.Content>now remains on its current detent till the animation is finished. (breaking change) - Make
theme-colorHTML meta tag manipulations safer in contexts where it cannot be defined. #18
v0.9.12
Release date: 2025-09-12
- Change the behavior of the
onClickOutsideevent handler on<Sheet.View>so it runs even if propagation is stopped onclickevents fired on<Sheet.View>. #100 - Expand the
componentRefprop type on<Scroll.Root>so it acceptsnull.
v0.9.11
Release date: 2025-07-10
v0.9.10
Release date: 2025-07-06
- Add an
updateThemeColorfunction that lets you update thetheme-colorin a safe way while a Sheet using thethemeColorDimmingprop is presented, or when theuseThemeColorDimmingOverlayhook is used. - The
themeColorDimmingprop on<Sheet.Backdrop>now fetches thetheme-colormeta-tag each time a Sheet gets presented, thus taking into account potential changes. #73
v0.9.9
Release date: 2025-07-02
- Fix Sheet programmatic dismissal not working with
swipeDismissal={false}after a swipe attempt. #71 - Fix
swipeOvershoot={false}not working withtracksusing two values andswipeDismissal={false}.
v0.9.8
Release date: 2025-06-30
- Add JSDoc comments to all components, sub-components and props to provide rich in-editor hints.
v0.9.7
Release date: 2025-06-18
- Update the website’s domain name in all files.
v0.9.6
Release date: 2025-06-05
- Fix
<Sheet.Handle>not correctly rendering its potential children. - Remove focus outline from internal the Scroll component underlying scroll container.
- Expand
<Sheet.Portal>container prop types to let it acceptnull - Expand
animatefirst argument’s types to let it acceptnull - Expand
useThemeColorDimmingOverlay'selementRef’s type to let it acceptundefined.
v0.9.5
Release date: 2025-06-02
- Update README
v0.9.3
Release date: 2025-05-05
- The
themeColorDimmingprop on<Sheet.Backdrop>now supports color values in hexadecimal format for thetheme-colormeta tag. - The
themeColorDimmingprop on<Sheet.Backdrop>now uses the<body>HTML element CSSbackground-colorvalue when thetheme-colormeta tag is not set. - The
themeColorDimmingprop on<Sheet.Backdrop>now logs a warning when thetheme-colormeta tag uses a non-supported color format.
v0.9.2
Release date: 2025-05-02
- Fix
onClickOutsideevent being triggered when a click occurred on an element inside of<Sheet.View>whose ancestor DOM node was removed from the DOM at the same time. #51
v0.9.1
- Fix “scroll-by” being interpreted as “scroll-to” in
<Scroll.Trigger>actionprop. - Fix descendant element animation starting during the
enteringphase and ongoing during theidleInsidephase preventing interaction with the sheet. #33 - Fix
touchstartandtouchendevents not propagating to third-party HTML elements. #50
v0.9.0 (breaking change)
- Change the way Silk low-level CSS styles are imported. Follow the migration guide on how to import them.
- Add a warning in the console when Silk CSS styles are not detected.
- Fix
onClickOutsideevent being triggered when a click occurred on an element inside of<Sheet.View>that was removed from the DOM at the same time. - Fix
onClickOutsideevent being triggered when a click occurred on an element inside of a third-party overlay component. - Fix error when the user presses the
escapekey when an<ExternalOverlay>is in use. - Remove useLayoutEffect warnings in some environments.
v0.8.15
- Fix travel and stacking animations when a sheet is used in a controlled manner (i.e. using the
presentedandonPresentedChangeprops). #28
v0.8.14
- Throw a proper error when the
theme-colormeta-tag is not set when thethemeColorDimmingprop on Sheet.Backdrop is used. #13 - Throw a proper error when the
theme-colormeta-tag is not using thergb()format for its content when using thethemeColorDimmingprop on Sheet.Backdrop is used. #18 - Fix the types not being applied to the
<Sheet.Root>component. #17 - Remove unnecessary peerDepencies. #27
- Fix invalid CSS. #12