You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
448c4f3: Add the Drawer primitive. It provides a lower level abstraction than existing sheets, which enable more functionality (such as side sheets) and features (such as adding padding around the content area of a sheet).
025de18: Introduce new ColorScheme support for themes. It allows you to specify prefered ColorSchemes when creating themes, such as Light and Dark. To use it use the new buildThemeV2 {} builder.
e5c9914: Expose ModalState.hasMountedFragments and ModalState.isAttachedToWindow.
What's improved
9d5c16c: Add a key parameter to PortalHost and a target parameter to Portal. Both accept a PortalTarget token. A portal uses the nearest host whose key matches its target. PortalTarget.Unspecified matches the nearest untargeted host. Portals with no matching host render nothing.
25fa1b8: Expose the Android modal window through Compose's DialogWindowProvider so window-aware utilities can discover it from modal content. Tooltips that used a generic PortalHost now need a TooltipHost.
What's fixed
d9b0f78: Fix Bottom Sheet modifiers being clipped, so effects such as shadows can render outside the sheet bounds.
3625da8: Preserve the caller's layout direction in non-Android modals.
6088abf: Avoid rewriting portal entries when callers recompose.
59d3926: Fix tooltips and modals rendering in the wrong portal host. Each now renders in its matching TooltipHost or ModalHost, even when another portal host is nested inside. These hosts no longer display unrelated portal content.