8000 fix: draggable views on BrowserViews on Windows by codebytere · Pull Request #26738 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: draggable views on BrowserViews on Windows #26738

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

Merged
merged 2 commits into from
Dec 1, 2020

Conversation

codebytere
Copy link
Member

Description of Change

Closes #26562.

Prior to this PR draggable views did not work with BrowserViews except on macOS, which was fixed in #26145. This fixes that same functionality on Windows.

Tested with https://gist.github.com/7278c8c62ec976110afb47ef2d861a7a.

Checklist

Release Notes

Notes: Fixed an issue where draggable regions did not work exclusively on BrowserViews on Windows.

@codebytere codebytere force-pushed the browserview-drag-windows branch from 9cf1483 to a9a02a9 Compare December 1, 2020 01:00
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Dec 1, 2020
@codebytere codebytere merged commit 528b0f0 into master Dec 1, 2020
@release-clerk
Copy link
release-clerk bot commented Dec 1, 2020

Release Notes Persisted

Fixed an issue where draggable regions did not work exclusively on BrowserViews on Windows.

@trop
Copy link
Contributor
trop bot commented Dec 1, 2020

I have automatically backported this PR to "11-x-y", please check out #26774

@trop trop bot removed the target/11-x-y label Dec 1, 2020
@trop
Copy link
Contributor
trop bot commented Dec 1, 2020

I have automatically backported this PR to "12-x-y", please check out #26775

@trop
Copy link
Contributor
trop bot commented Jan 7, 2021

@codebytere has manually backported this PR to "10-x-y", please check out #27222

@@ -40,6 +48,8 @@ class NativeBrowserViewViews : public NativeBrowserView {
float auto_vertical_proportion_height_ = 0.;
float auto_vertical_proportion_top_ = 0.;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where can I find -webkit-app-region parsing?
I wanna find out how Electron works if -webkit-app-region is applied.
@ckerr @codebytere @lsegal @vitaliel @anaisbetts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BrowserView draggable area not working in windows exclusively on BrowserViews
3 participants
0