Code Monkey home page Code Monkey logo

Comments (3)

mounirlamouri avatar mounirlamouri commented on June 1, 2024

All native APIs for PIP are topmost so I'm not sure how this option could realistically happen. I'm not sure why someone wouldn't create a PIP window and ask for it not to be topmost. However, would it make sense to instead offer more options when creating a window so that it has minimal UI? Would that solve this use case?

from picture-in-picture.

beaufortfrancois avatar beaufortfrancois commented on June 1, 2024

I agree with @mounirlamouri that the PiP Web API doesn't seem to a good place for this kind of behavior.
Web developers can already open non-topmost popup windows with:

window.open('popup.html', 'My Popup', 'width=320,height=240');

from picture-in-picture.

mounirlamouri avatar mounirlamouri commented on June 1, 2024

I would be inclined to mark this as WontFix because I believe that PIP means topmost by default and I would be surprised if realistically we will get topmost window.open(). Probably worth re-opening if the use case is triggered later on.

from picture-in-picture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.