Closed Bug 1522731 Opened 2 years ago Closed 2 years ago

When you click "Update comment", the button changes size and the "Cancel" button jumps underneath your cursor, causing momentary panic that you canceled your edit

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

Details

(Keywords: ux-control)

Attachments

(2 files)

STR:

  1. Click the pencil icon to edit a comment.
  2. Make some change.
  3. Click the "Update comment" button, being sure to click near the left edge of the button

ACTUAL RESULTS:
The "Update comment" button suddenly gets smaller (because its text changes to "Saving"), which may mean the Cancel button jumps under your cursor. This gives you a moment of panic where you worry that perhaps you accidentally clicked Cancel (because there it is, right on the spot you just clicked).

EXPECTED RESULTS:
Buttons shouldn't jump under your cursor when you click.

Attached video screencast of bug

(If the bug's not obvious from just watching the screencast, e.g. because it's too quick, try pausing & seeking to around the 2 or 3 second mark.)

Summary: When you click "Update comment", the button changes size and the "Cancel" button jumps underneath your cursor → When you click "Update comment", the button changes size and the "Cancel" button jumps underneath your cursor, causing momentary panic that you canceled your edit

Yeah, the “Saving…” label should probably be displayed next to the Cancel button to avoid any confusion. I’ll fix it.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Attached file GitHub Pull Request
Keywords: ux-control

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Assignee: kohei.yoshino → nobody
Component: Extensions: EditComments → Extensions
You need to log in before you can comment on or make changes to this bug.