Skip to content

Commit b123c7e

Browse files
committed
Force initial focus onto the dialog modal when it loads
1 parent df1dd16 commit b123c7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/components/src/dialog/dialog/dialog.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
size="default"
3939
bitDialogClose
4040
[label]="'close' | i18n"
41+
cdkFocusInitial
4142
></button>
4243
}
4344
</header>

0 commit comments

Comments
 (0)