Skip to content

Release v2.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 11:19
c685c29

Summary

A destructive dialog could not stop its OK button taking focus on open without discarding the footer's behavior.

Added

  • initialFocus on Dialog, forwarded by CommandDialog, choosing where focus lands when the dialog opens: DialogInitialFocus.Confirm (the default, unchanged), Cancel, or Content. Cancel degrades to Content where no dismissing button exists.

Fixed

  • A dialog with a custom footer or buttons={null} left focus on document.body, outside the modal. BusyIndicatorDialog shipped in that state; focus now moves to the dialog's title.