Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.3
-
None
Description
<p>The currently focused item is stored in a call to FrameworkElement.SaveUIState when a screen closes and is then restored when navigating back to that screen with a call to FrameworkElement.RestoreUIState. However when a dialog is shown, the underlying screen loses focus, so no longer has a focused element, if the dialog then by pushes a new WorkflowNavigationContext, sometimes focus is not restored to the screen before the call to SaveUIState and hence there is no focused element to save and restore.</p>
<p>We should try and detect this case and save and restore the element that had focus before the dialog was shown.</p>
<p>We should try and detect this case and save and restore the element that had focus before the dialog was shown.</p>