What happened?
With the last pip update of chromium the documentPictureInPicture global is now available.
When requesting a pipMode (and transfered all css) it's working fine.
BUT when a contextMenu (tooltip, menu, dialog, select) is open it's open in the main window and not in the pip window since it use the default document instead of ownerDocument to add the div in the body
** /!\ The codepen don't work since only the top-level browsing content can open a pip window**
What did you expect to happen?
The tooltip / menu etc are open in the pip window
Reproduction URL
https://codepen.io/H3r3zy/pen/yyLEmNL
How to reproduce?
- Click on open pip
- hover the notify button
- You'll see the tooltip on the main window and not the pip window
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
No response
What happened?
With the last pip update of chromium the documentPictureInPicture global is now available.
When requesting a pipMode (and transfered all css) it's working fine.
BUT when a contextMenu (tooltip, menu, dialog, select) is open it's open in the main window and not in the pip window since it use the default document instead of ownerDocument to add the div in the body
** /!\ The codepen don't work since only the top-level browsing content can open a pip window**
What did you expect to happen?
The tooltip / menu etc are open in the pip window
Reproduction URL
https://codepen.io/H3r3zy/pen/yyLEmNL
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
No response