-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Configure your window to have
resizeableasfalse - Create an HTML element with the
data-tauri-drag-regionattribute - Double click the HTML element, and the window maximizes
Expected behavior
Because the window is configured to not be resizable, it should not be maximized when double clicking the HTML element with the data-tauri-drag-region attribute.
Platform and Versions (required):
Operating System - Windows, version 10.0.19042 X64
Webview2 - 92.0.902.55
Node.js environment
Node.js - 14.17.0
@tauri-apps/cli - 1.0.0-beta.6
@tauri-apps/api - Not installed
Global packages
npm - 7.9.0
yarn - 1.22.10
Rust environment
rustc - 1.53.0
cargo - 1.53.0
App directory structure
/.git
/app
/node_modules
/src-tauri
App
tauri.rs - 1.0.0-beta.5
build-type - bundle
CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - ../app/dist
devPath - http://localhost:8000
Additional context
While it says @tauri-apps/api is not installed, this is not correct. I've put the code for my frontend in a sub-directory where it is installed.
This portion of core.js seems to be relevant to this issue.
Reactions are currently unavailable