After hiding the titlebar users can't drag the window using it. The standard way to do it is to add a -webkit-app-region: drag property to our custom titlebar.
Details
Details
- Reviewers
tomek atul • abosh kamil - Commits
- rCOMMf26876751866: [desktop] Draggable window
- Check that you can drag the window using the titlebar
- Check that you can't drag using buttons
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I think it would be good for @kamil to review this too – he's looking at ENG-1687: Explore sqlite-worker NPM package, which is related to ENG-1685: Stateful web client, which I think has some connection to the Electron app. Given this overlap I think it makes sense for @michal to review @kamil's diffs in the space, and for @kamil to review @michal's diffs in the space.
web/style.css | ||
---|---|---|
91–93 ↗ | (On Diff #18553) | Not sure if I should add a new class like electron-non-draggable instead of this? |
web/style.css | ||
---|---|---|
91–93 ↗ | (On Diff #18553) | I think that'd make sense |
web/app.react.js | ||
---|---|---|
193 ↗ | (On Diff #18553) | It's probably not worth it, but I guess we could handle it on css by using some media query |