Skip to content

[bug] The bug of resizing the window in the javascript API #4551

@57321

Description

@57321

Describe the bug

First, it was normal in v1.0.0.

In v1.0.1

When I resize the window height it always gets 20px more.

image

before

image

after

image

so. Is this a feature or a bug?

Reproduction

No response

Expected behavior

No response

Platform and versions

Operating System - Windows, version 10.0.18362 X64
Webview2 - 103.0.1264.37
Visual Studio Build Tools - Not installed

Node.js environment
  Node.js - 14.18.0
  @tauri-apps/cli - 1.0.0-beta.10 (outdated, latest: 1.0.1)
  @tauri-apps/api - 1.0.1

Global packages
  npm - 6.14.15
  pnpm - 7.3.0
  yarn - 1.22.10

Rust environment
  rustc - 1.61.0
  cargo - 1.61.0

Rust environment
  rustup - 1.24.3
  rustc - 1.61.0
  cargo - 1.61.0
  toolchain - stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)

App directory structure
/.git
/.vscode
/dist
/node_modules
/public
/src
/src-tauri

App
  tauri.rs - 1.0.2
`tauri.conf.json` error on ``: Additional property '$schema' is not allowed
`tauri.conf.json` error on `tauri > bundle > macOS`: Additional property 'providerShortName' is not allowed

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions