You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
16.0.7
What operating system are you using?
macOS
Operating System Version
macOS Big Sur 11.2.1
What arch are you using?
x64
Last Known Working Electron version
15.0.0
Expected Behavior
Given a frameless browser window with provided html drag region, the browser window itself should be draggable despite any browser view attached
Actual Behavior
Given a frameless browser window with provided html drag region, the dragging capability for the browser window is deactivated by a browser view attached exactly over the drag region
(probably you'll see in the poc that sometimes it's draggable after you resized and dragged the "always"-draggable window).
b3ll00z
changed the title
[Bug][macOS]: dragging capability deactivated on browser view over drag region
[Bug][macOS]: browser window dragging capability deactivated on browser view over drag region
Jan 27, 2022
This is, unfortunately, behavior by design. I corrected this in #31085. On macOS, draggable regions are implemented making the whole web view draggable and overlaying regions that are not draggable. BrowserViews and BrowserWindows hve independent web views, and so independent exclusion zones. Thus, if a BrowserView with different draggable regions than the BrowserWindow it belongs to is superimposed on top of that window, the draggable regions of the BrowserView take precedence over those of the BrowserWindow.
Preflight Checklist
Electron Version
16.0.7
What operating system are you using?
macOS
Operating System Version
macOS Big Sur 11.2.1
What arch are you using?
x64
Last Known Working Electron version
15.0.0
Expected Behavior
Given a frameless browser window with provided html drag region, the browser window itself should be draggable despite any browser view attached
Actual Behavior
Given a frameless browser window with provided html drag region, the dragging capability for the browser window is deactivated by a browser view attached exactly over the drag region
(probably you'll see in the poc that sometimes it's draggable after you resized and dragged the "always"-draggable window).
Testcase Gist URL
https://github.com/b3ll00z/poc-undraggable-frameless
To reproduce
poc_undraggable_window.mov
The text was updated successfully, but these errors were encountered: