WICG / document-picture-in-picture

https://wicg.github.io/document-picture-in-picture/
Other
58 stars 9 forks source link

More predictable window position when requesting new window. #120

Open offbeatful opened 7 months ago

offbeatful commented 7 months ago

When using the requestWindow API to initialize Picture-in-Picture (PiP) the PiP window frequently starts in unpredictable position (and size) on the screen. It feels like it should remember the last position and size when window is closed but this not always happens. In addition if invoked with the same width and height it is often gets ignored in favor of last closed position.

This creates a jarring and inconsistent user experience.

Can this be simplified?