馃悰 Bug Report
As in title, keyboard focus should be placed back on the element focused before the dialog was opened after it has been closed. This is apparent when triggering dialog open using the keyboard (with enter).
馃捇 Repro or Code Sample
Can be reproduced in any of the FluentDialog examples -> https://www.fluentui-blazor.net/Dialog
馃拋 Possible Solution
Save a reference to the element currently focused during dialog open, in the dialog service. Focus it again during close.
I will follow up with a fix tomorrow.
馃敠 Context
microsoft/aspire#10119
馃悰 Bug Report
As in title, keyboard focus should be placed back on the element focused before the dialog was opened after it has been closed. This is apparent when triggering dialog open using the keyboard (with enter).
馃捇 Repro or Code Sample
Can be reproduced in any of the FluentDialog examples -> https://www.fluentui-blazor.net/Dialog
馃拋 Possible Solution
Save a reference to the element currently focused during dialog open, in the dialog service. Focus it again during close.
I will follow up with a fix tomorrow.
馃敠 Context
microsoft/aspire#10119