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
{{ message }}
Repository navigation
BrowserWindow 'title-bar-style': 'hidden-inset' option: drag & drop #3009
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 input[type="range"]
Here is the preview:
Reacted by Sindre Sorhus, Andrew Dassonville, Jeroen van Warmerdam and Luke Deen Taylor
I'm having this issue on MacOS El Capitan and [email protected]. Has been merged with that?
I have tried the frameless-window example here
and adding to the BrowserWindow the hidden-inset titlebar option:
Put a link in the location the title bar would be:
3. Observe that you can click the link, but there is no cursor, even when you've defined a cursor in your CSS.
4. Remove the `frame: false` line from the settings and relaunch the app. Observe that you can click the link and there is a cursor as expected.
My guess is that under the hood BrowserWindow's {frame: false} functionality is implemented using transparent windows so the area where the title bar normally would be is subject to #1335.
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.
Activity
Remove title bar style option.
samwillis commentedon Apr 16, 2016
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.
ggamel commentedon Apr 17, 2016
👍 I hope this makes it into Electron core
loretoparisi commentedon Jul 4, 2016
I'm having this issue on MacOS El Capitan and
[email protected]. Has been merged with that?I have tried the frameless-window example here
and adding to the
BrowserWindowthehidden-insettitlebar option:having

Only with the custom top title bar item active:
I can the the
-webkit-app-region: dragto work:JonasRothmann commentedon Sep 30, 2016
This is still an issue. Anybody with solutions to this issue? Seems like it breaks a lot of software on OSX
aguynamedben commentedon Jun 28, 2017
This is still an issue in Electron 1.6.7. I don't see why this issue was closed.
Steps to reproduce:

3. Observe that you can click the link, but there is no cursor, even when you've defined a cursor in your CSS. 4. Remove the `frame: false` line from the settings and relaunch the app. Observe that you can click the link and there is a cursor as expected.Other notes
-webkit-app-region: drag;option. If I remove my usage of that, the behavior is the same.My guess is that under the hood
BrowserWindow's{frame: false}functionality is implemented using transparent windows so the area where the title bar normally would be is subject to #1335.aguynamedben commentedon Jun 28, 2017
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.
MarshallOfSound commentedon Jun 28, 2017
@aguynamedben You're looking for this https://github.com/electron/electron/blob/master/docs/api/frameless-window.md#custombuttonsonhover 😄
DrifterAtSea commentedon Nov 22, 2017
I'm using electron 1.6.11 and the cursor doesn't change to a pointer using css. Was this fixed?