Skip to content

[bug] Android Keyboard overlay/push behavior changes between app launches #7868

@bpevs

Description

@bpevs

Describe the bug

Basically, as the screenshots explain, sometimes when I open my app, the keyboard is overlaying over the app, and other times it pushes the content up (shortens the window height)?

I think probably the expected behavior is the latter?

I am still seeing this regression now in 2.0.0-alpha.14
Don't remember the version I was running when I first started seeing this, but I think it was in august maybe around 2.0.0-alpha.8?

Screenshot_2023-08-28_at_23 00 47

Reproduction

I think it should happen on any Android app with a text input at the bottom of the screen.

  • Open app
  • tap text input

Notice that the keyboard covers the input (screenshot right)

  • back out of app (just exit app, don't quit)
  • open app again

Keyboard should now no longer be covering the input (screenshot left)

Kinda being lazy, but I can build a reproduction repo if there isn't an easily-editable one you area already working with

Expected behavior

Input should move to be above keyboard (at least that was the behavior prior).

Platform and versions

[✔] Environment
    - OS: Mac OS 13.5.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.70.0 (90c541806 2023-05-31)
    ✔ Cargo: 1.70.0 (ec8a8a0ca 2023-04-25)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)

[-] Packages
    - tauri [RUST]: git+https://github.com/tauri-apps/tauri/?branch=dev#af3268a4be69e2dee72ba867ee54bc36d12712e6 (2.0.0-alpha.11)
    - tauri-build [RUST]: no manifest (2.0.0-alpha.8, 2.0.0-alpha.8)
    - wry [RUST]: 0.31.1
    - tao [RUST]: 0.22.2
    - @tauri-apps/api [NPM]: not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.14

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../src-www
    - devPath: http://0.0.0.0:3000/

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