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

[bug] webview content disappears when resizing window with devtools open #3914

Closed
ottosson opened this issue Apr 18, 2022 · 2 comments
Closed

Comments

@ottosson
Copy link

Describe the bug

When I have an application with any content and open the devtools, then resize the window, the content will be shifted upwards out of the view. Never to be able to scroll it in to view again until I restart the application:

disappearing content

Reproduction

start application with any content
open devtools
resize window

Expected behavior

The content should not disappear upwards

Platform and versions

Environment
  › OS: Mac OS 12.3.1 X64
  › Node.js: 15.11.0
  › npm: 7.6.0
  › pnpm: Not installed!
  › yarn: 1.22.17
  › rustup: 1.24.3
  › rustc: 1.59.0
  › cargo: 1.59.0
  › Rust toolchain: stable-x86_64-apple-darwin 

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.7(outdated, latest: 1.0.0-rc.8)
  › @tauri-apps/api [NPM]: 1.0.0-rc.3(outdated, latest: 1.0.0-rc.3)
  › tauri [RUST]: 1.0.0-rc.6,
  › tauri-build [RUST]: 1.0.0-rc.5,
  › tao [RUST]: 0.7.0,
  › wry [RUST]: 0.14.0,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:3000/
  › framework: React

App directory structure
  ├─ Res
  ├─ dist
  ├─ node_modules
  ├─ src-tauri
  └─ src

Stack trace

No response

Additional context

No response

@lucasfernog
Copy link
Member

Related to tauri-apps/wry#297 looks like we know how to fix it.

@ottosson
Copy link
Author

Awesome! I close this since it's already a known issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants