Opened 7 months ago

Closed 6 months ago

#22388 closed defect (bug) (fixed)

New color picker: Instant feedback when changing the hex value

Reported by: johnbillion Owned by: mattwiebe
Priority: low Milestone: 3.5
Component: Administration Version: 3.5
Severity: normal Keywords: needs-patch
Cc:

Description

Previously: #21206

When you manually change the value in the hex input field the color picker isn't updated until the hex input field loses focus. We should hook into the onkeyup event and change the picker colour immediately (or rather, when a valid hex code is present).

Not sure if this should be reported here or upstream to Iris. Reporting it here anyway.

Change History (8)

  • Type changed from enhancement to defect (bug)
  • Component changed from UI to Administration
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 3.5
  • Owner set to mattwiebe
  • Status changed from new to assigned

Unsure about this. I was waiting for someone to report this. The initial trouble with doing it as you type was that color error-handling was at that time not very good. Error-handling is pretty good now, but this may still introduce side effects. I will test and report back.

Waiting until they hit six characters would probably prevent most side effects.

  • Priority changed from normal to low
  • Resolution set to fixed
  • Status changed from assigned to closed

In 22732:

Color picker: Instant feedback when typing a color. Strengthens alt + arrows for moving around the palette. props mattwiebe. fixes #22475. fixes #22388.

Note: See TracTickets for help on using tickets.