[ACA-2075] Create Library dialog is not focused when opening it for the second time (#863)

* remove autofocus property

* let dialog focus elements

* remove autoFocus dialog configs

* autoFocus default config
This commit is contained in:
Cilibiu Bogdan
2018-12-07 18:12:15 +02:00
committed by Denys Vuika
parent 904c08461d
commit ec3eeb7a63
3 changed files with 1 additions and 16 deletions

View File

@@ -57,7 +57,7 @@ import {
providers: [
{
provide: MAT_DIALOG_DEFAULT_OPTIONS,
useValue: { closeOnNavigation: true, hasBackdrop: true }
useValue: { closeOnNavigation: true, hasBackdrop: true, autoFocus: true }
}
]
})