Open vince-fugnitto opened 5 years ago
Potentially related #4368
Related to #5521
I think we need iframe widget, which handles typical iframe issues and particularly can forward focus/blur events to the host window from iframe window. MiniBrowser and WebView should be reimplemented by using it.
I think we should do https://github.com/eclipse-theia/theia/issues/6562 instead.
Description
Currently, when the
preview
mini-browser
editor is used to view an image, clicking within the editor does not set the focus to the entire editor which results in odd behaviors such as the inability to open thequick-command-palette
to perform actions. Instead, like the preview for markdown, selecting within the editor should set the focus to the editor itself.Steps to Reproduce
svg
file as a preview.svg
file.quick-commands
(F1)Additional Info
Theia c02c6e2826b07481c400758f53acc6687df7bd5e Ubuntu 16.04 Chrome v74.0.3729.6