Release v2.7.0
Summary
A destructive dialog could not stop its OK button taking focus on open without discarding the footer's behavior.
Added
initialFocusonDialog, forwarded byCommandDialog, choosing where focus lands when the dialog opens:DialogInitialFocus.Confirm(the default, unchanged),Cancel, orContent.Canceldegrades toContentwhere no dismissing button exists.
Fixed
- A dialog with a custom footer or
buttons={null}left focus ondocument.body, outside the modal.BusyIndicatorDialogshipped in that state; focus now moves to the dialog's title.