shibro
Show the version of “Inline editing looks like text and edits like a field”

Advanced inputs · SU-324

Inline editing looks like text and edits like a field

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Edit control hover only · none at rest
  • Editing same 22px · 2px ring
  • Edit field 14px · text shifts
  • Edit control visible · 32px
  • Save and cancel tick + cross · 32px

What changes

Bad
The title has a pencil only on hover; clicking swaps it for a default 14px input with the text shifted and nothing to confirm or cancel.
Good
A visible 32px pencil; editing keeps the 22px title exactly in place with a 2px ring, and a tick and cross follow the field.

The rules

  • SU-324

    Inline editing looks like text and edits like a field. The read state shows the value with a visible edit control (never hover-only). The edit state keeps the same font size, weight and position, so nothing shifts. Enter saves and Esc cancels; short single-line text can save on blur, while long text stays open with Save and Cancel. A 32px tick and cross sit at the field end, saving shows a small spinner, and an error keeps the field open.