Skip to content
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

maxWidth used without maxHeight allows user to extend window beyond max width #8216

Closed
ghost opened this issue Nov 12, 2023 · 1 comment
Closed
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@ghost
Copy link

ghost commented Nov 12, 2023

Describe the bug

"windows": [ { "fullscreen": false, "resizable": true, "title": "PassGuard", "height": 700, "width": 420, "maxWidth": 420, "minHeight": 600, "minWidth": 420, "contentProtected": true } ]

is this intended or bug?

Reproduction

No response

Expected behavior

Setting maxWidth without maxHeight Should not allow user to expand window beyond max width.

Platform and versions

[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 119.0.2151.58
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.73.0 (cc66ad468 2023-10-03)
    ✔ cargo: 1.73.0 (9c4383fb5 2023-08-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.9.0
    - pnpm: 8.10.2
    - npm: 10.1.0

[-] Packages
    - tauri [RUST]: 1.5.2
    - tauri-build [RUST]: 1.5.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.5
    - @tauri-apps/api [NPM]: 1.5.1
    - @tauri-apps/cli [NPM]: 1.5.6

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:5173/
    - framework: Svelte
    - bundler: Vite

Stack trace

No response

Additional context

Please provide me work around for this untill this get fixed cause i need it urgently.

@ghost ghost added status: needs triage This issue needs to triage, applied to new issues type: bug labels Nov 12, 2023
@amrbashir
Copy link
Member

amrbashir commented Nov 13, 2023

duplicate of #7075

@amrbashir amrbashir closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

1 participant