-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat(core): add
app-region: drag
to data-tauri-drag-region
(
#9789)" (#9860) * Revert "feat(core): add `app-region: drag` to `data-tauri-drag-region` (#9789)" This reverts commit ae6b13d. * Update pre.json * change files * Discard changes to .changes/pre.json
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"tauri": patch:bug | ||
--- | ||
|
||
Revert adding `app-region: drag` to HTML elements with `data-tauri-drag-region` on Windows as it has a few issues: | ||
- Doesn't allow right click, as it will always show the system context menu on right click. | ||
- `data-tauri-drag-region` works only if the click was on an element that has it, this allows buttons in the custom titlebar to work, however `app-region: drag` will treat the whole area as a titlebar won't even allow clicks on buttons. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters