Add user: "Username (IdP)" field text shifts ~1px when typing the first character after @
Fleet versions
- Discovered: 4.87.0-rc.2606191328
- Reproduced: 4.87.0-rc.2606191328
Web browser and operating system: Chromium / macOS
💥 Actual behavior
On a host details page → Add user, in the "Username (IdP)" field, typing an email (e.g. jhasd1@a) makes the field text shift down slightly (~1px) when you type the first character after the @.
🛠️ To fix
TODO
🧑💻 Steps to reproduce
- Host details page → User → Add user.
- Type a partial email, e.g. "jhasd1@".
- Type the first character after the @ (e.g. "a").
- Observe the field text shifts down ~1px on that first post-@ character.
🕯️ More info (optional)
Observed at 100% zoom, Chrome on macOS (Retina). Instrumented testing — input getBoundingClientRect sampled over 182 frames at 2x device scale — shows the box top and height are constant and no DOM nodes change, so this is a sub-pixel/paint-level shift of the rendered text, not a layout/box move. Likely browser-rendering specific; worth confirming in another browser. Component: shared InputField, Add user modal (host details).
I tried to reproduce this on Chrome, Firefox and Safari and couldn't reproduce
Chrome 149.0.7827.158
https://github.com/user-attachments/assets/a308d8d9-34b3-46fe-85d2-c36c4c06738b
Firefox 152.0.1 https://github.com/user-attachments/assets/d6e0e68e-e9ca-4129-bfef-ba15cf0f6bbc
Safari 26.5
https://github.com/user-attachments/assets/d5a6a2ea-9857-4bf3-a8e8-620c8cd4cb40
Tested on 4.90.0 (Main)
PASSED ✅
Text shifting gently, Like a leaf in the wind's sigh, Now stable, user content.