fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Add user: "Username (IdP)" field text shifts ~1px when typing the first character after @

Open Brajim20 opened this issue 5 months ago • 3 comments

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 @.

Image

🛠️ To fix

TODO

🧑‍💻 Steps to reproduce

  1. Host details page → User → Add user.
  2. Type a partial email, e.g. "jhasd1@".
  3. Type the first character after the @ (e.g. "a").
  4. 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).

Brajim20 avatar Jun 19 '26 15:06 Brajim20

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

RachelElysia avatar Jun 26 '26 18:06 RachelElysia

Tested on 4.90.0 (Main) PASSED ✅ Image

Brajim20 avatar Jul 17 '26 04:07 Brajim20

Text shifting gently, Like a leaf in the wind's sigh, Now stable, user content.

fleet-release avatar Aug 06 '26 02:08 fleet-release