-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
BrowserWindow 'title-bar-style': 'hidden-inset' option: drag & drop #3009
Comments
because of issue electron/electron#3009.
It looks to me like the Brave guys have fixed it in their fork of Electron brave/muon#13 and it just needs merging upstream. I would love to see this in electron. |
👍 I hope this makes it into Electron core |
I'm having this issue on MacOS El Capitan and mainWindow = new BrowserWindow({
width: 360,
height: 300,
frame: false,
transparent : true,
titleBarStyle : 'hidden-inset'
}); Only with the custom top title bar item active: .top-titlebar {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 32px;
background-color: #7a7c7c;
-webkit-user-select: none;
-webkit-app-region: drag;
} I can the the |
This is still an issue. Anybody with solutions to this issue? Seems like it breaks a lot of software on OSX |
This is still an issue in Electron 1.6.7. I don't see why this issue was closed. Steps to reproduce:
mainWindowSettings = {
show: false,
width: 800,
height: 500,
frame: false,
};
mainWindow = new BrowserWindow(mainWindowSettings);
Other notes
My guess is that under the hood |
Sorry if it's unclear... the exact issue I'm seeing is the same as this: #3619 (Cursor doesn't change to pointer in topbar) which was closed and linked to this issue. |
I'm using electron 1.6.11 and the cursor doesn't change to a pointer using css. Was this fixed? |
If this option is set, you can't drag/drop elements that are located in the top of the window (in the region where window's toolbar is placed). Even with
-webkit-app-region: drag
, dragging is not performed correctly.The element which being dragged is native
![Preview](https://cloud.githubusercontent.com/assets/2175645/10311824/0f1bebae-6c51-11e5-9194-07cecebfbab3.gif)
input[type="range"]
Here is the preview:
The text was updated successfully, but these errors were encountered: