PowerShell ISE CurrentPowerShellTab AddFile focus not on the editor pane
When running ISE commands like $psISE.CurrentPowerShellTab.Files.Add(...) to open a new script file in ISE the focus should be in the editor pane.
However, with the Windows update of Windows 10 Pro (1803) 10.0.17134 when a file is opened using $psISE.CurrentPowerShellTab.Files.Add(…) the focus is not on the editor window of the file but the ISE editor tab. Why has this changed?
This is extremely annoying since we now have to refocus the cursor on to the editor windows before typing or selecting a command to run.