Temporary solution
Please open PIO Home in a separate layout (Split Editor and drag PIO Home tab to a new tab pane). See | | | icon in the top right corner.
Currently, VSCode totally destroys PIO Home when a user changes tab. Need to find a way how to restore previous IFRAME state.
There is no information here:
/cc @dbaeumer @Tyriar should I open a feature request? Related source code.

Temporary solution
Please open PIO Home in a separate layout (Split Editor and drag PIO Home tab to a new tab pane). See | | | icon in the top right corner.
Currently, VSCode totally destroys PIO Home when a user changes tab. Need to find a way how to restore previous IFRAME state.
There is no information here:
/cc @dbaeumer @Tyriar should I open a feature request? Related source code.