v1.15.0Latest
Nested dialogs no longer make animated content jump
Released
Content inside a dialog opened from another dialog stays in place on every re-render, and every overlay now keeps its layout animations independent of whatever opened it.
- 1 changed
- 12 fixed
Fixed
- dialog: content inside a dialog opened from another dialog no longer jumps on re-render, for example a form wizard that shifted about 19px sideways while its body scrolled. Layout animations no longer inherit the scale of the dialog behind.
- alert-dialog, sheet, drawer, command-menu, popover, hover-card, tooltip, dropdown-menu, context-menu, select, combobox: layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
Changed
- motion: new
MotionBoundary, the wrapper the overlays above use around their portal. Put it around the AnimatePresence of your own portal surfaces to start a fresh motion layout tree. AlayoutIddoes not morph across it.
13 items in this release
Changed1
- Motion presets1.0.0 → 1.1.0New `MotionBoundary`, the wrapper the overlays above use around their portal. Put it around the AnimatePresence of your own portal surfaces to start a fresh motion layout tree. A `layoutId` does not morph across it.
Fixed12
- Alert Dialog1.0.0 → 1.1.0Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Combobox1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Command Menu1.0.1 → 1.1.0Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Context Menu1.0.0 → 1.1.0Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Dialog1.0.0 → 1.0.1Content inside a dialog opened from another dialog no longer jumps on re-render, for example a form wizard that shifted about 19px sideways while its body scrolled. Layout animations no longer inherit the scale of the dialog behind.
- Drawer1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Dropdown Menu1.0.0 → 1.1.0Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Hover Card1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Popover1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Select1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Sheet1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.
- Tooltip1.0.0 → 1.0.1Layout animations inside the surface no longer shift when it is opened from an element that rests scaled or moved, like a dialog stepped back behind another one.