-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardizing app-region
for draggable app windows
#7017
Comments
There doesn't appear to be much, if any, detail of what you're actually proposing on the CSS side; the entirety of the section is currently just "To define which regions or elements in the title bar are draggable, this specification defines the CSS app-region property." Do you have any further details that could be shared? There's nothing for us to review right now. ^_^ |
Hola @tabatkins . Indeed, I will provide more context, sorry about that! The CSS property already exists, as part of the "Webkit CSS extensions". Its current form is that of There is surprisingly very little information on the css property in general, but basically what it allows is to define a an element as draggable, which means that holding down the and moving on said element (dragging) it moves the window in the UI (desktop/windowing) environment. The spec does not mention the implementation of the CSS property since it should work the same as already existing
|
Heh, the MDN page also doesn't do anything more than mention the existence of the property. So first it would just involve defining what the property is - what its values are and what they mean, what they apply to, what (if anything) they do in other situations, etc. I presume from your comment that the current -webkit-prefixed version just has the values |
FWIW, as a precedent, Gecko has |
(Not that it does anything in regular websites though) |
Let's give this a try. The behaviour of the The property's This (through the What we'd like is to remove the |
Hey folks, polite ping, any movement here? :) |
Polite ping here as well. (Polite ping ...squared? which means squared politeness, not squared ping). |
@diekus The first step here is to explicitly try to define what the current implementations are doing - and to cover various edge cases that exist (and ensure this behaviour is actually want people want). E.g. does this property respect paint order? which properties will suppress this behaviour: Ian |
Hey all 👋 I'm the maintainer of Wails - an electron alternative for Go. Having this standardised would be amazing for us (as I'm sure it would be for other frameworks such as Tauri) as currently we have to hack this functionality in using JavaScript. Recently, Microsoft announced that WebView2 would support So why am I bringing this up here? Well, if you read the proposal in the initial comment, everything mentioned in it is geared around the title bar as, for sure, that's how it'll be used in the majority of use cases. However, I'd argue that I'll end with a couple of questions:
Thank for your time 🙏 |
I believe @amandabaker has resolved most of the technical implementation edge cases for a more consistent behavior. So now we just need to have this specified. |
hey,I have also encountered this problem, please ask if you have a good way now, about hiding the right-click menu |
Hola CSS WG
The WICG has produced a draft for a proposed new feature to extend the web content to the area that would generally be utilized by the title bar, named Window Controls Overlay:
https://wicg.github.io/window-controls-overlay/
The feature consists of an extension to the navigator interface, an new value for the
display_override
in the manifest and a way to define draggable sections through the CSS propertyapp-region
, as seen in the appropriate section in the spec:https://wicg.github.io/window-controls-overlay/#defining-draggable-sections
I am reaching out to you to ask for feedback and comments, and to evaluate the option (and guidance) of going forward with the standardization process for this property.
Thank you very much!
The text was updated successfully, but these errors were encountered: