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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Dialogs render above the whole window from their own overlay layer, so a
short pane, a scrolled list or a toolbar can no longer clip a dialog or
change where it stacks.
While a dialog is open the page behind it stops scrolling and its controls
become inert: clicks and Tab cannot reach the workspace, and assistive
technology reads only the dialog. Closing the last dialog restores both.
The shared dialog primitive is now named Modal, matching the Ant Design
naming used in the design system.
The modal accepts Ant-style slots: title, closable/closeIcon, headerClassName, and a footer (a node, or a function over the default
Cancel/OK row) with footerClassName, okText, cancelText, onOk, onCancel and confirmLoading. Every dialog uses the prop API now; the
header and footer rows are internal to Modal.