Skip to content

Defining Draggable Regions in Web Content (for custom title bars) #6368

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

Open
diekus opened this issue Jun 9, 2021 · 1 comment
Open

Defining Draggable Regions in Web Content (for custom title bars) #6368

diekus opened this issue Jun 9, 2021 · 1 comment
Labels
css-ui-4 Current Work

Comments

@diekus
Copy link
Member

diekus commented Jun 9, 2021

Hola CSSWG! Diego from Edge here, looking to get your feedback and ideas on standardizing the prefixed CSS property -webkit-app-region. The reason for this is that while defining custom title bars we need a way for the developer to mark regions and content as draggable/not-draggable.

The values we want to leverage to enable marking content draggable are:

  • -webkit-app-region: drag
  • -webkit-app-region: no-drag

Here's a link to the explainer of Window Controls Overlay that addresses this challenge.

If the developer included a textbox in the title bar for example, this area should be marked as not draggable, since it receives input and is generally not poised for be dragged from while moving the window.

@fantasai fantasai added the css-ui-4 Current Work label Jun 10, 2021
@dbaron
Copy link
Member

dbaron commented May 9, 2023

Duplicate of #7017 (which is newer, but has more discussion)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-ui-4 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants