[bug] Input fields sometimes unfocus briefly when typing if the input type is not password. #12928
Labels
platform: Windows
status: upstream
This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes
type: bug
Describe the bug
In the onboarding page of my tauri application, I have a login form, register form and a shop/business form. Whenever I click in the other fields to start typing, the window flickers because the input field briefly loses focus. As I am typing, sometimes I lose focus briefly and at other times I don't.
I have tried the
-webkit-user-select: text
fix and it did not work.autoComplete='off'
too did not work for me.I am using Shadcn UI. But I tested it on vanilla input fields and still get this bug.
I am working on Windows 11 and running tauri with react and vite.
Reproduction
pnpm install
pnpm run tauri dev
The forms can be found in src/components:
Expected behavior
Full
tauri info
outputStack trace
Additional context
tauri-input-bug.mp4
The text was updated successfully, but these errors were encountered: