Issue Bug Closed

#108852Prevent focus loss when clicking on color field

Dennis Purisevic 02/04/26, 10:45 updated 04/21/26, 11:30

Description

When clicking inside the color input, the color picker opens and the input immediately loses focus. This disrupts user interaction and makes it difficult or impossible to manually enter or adjust color values.

The issue occurs consistently when interacting with the color field using the mouse.

Steps to Reproduce

  1. Open any backend record with a color field (TCA type color).
  2. Click into the color input field to edit the value or open the color picker.
  3. Observe that the field loses focus immediately.

Expected Behavior

The color field should retain focus when clicked, allowing the user to type or select a color without interruption.

Actual Behavior

Focus is lost immediately after clicking the color field or color picker.

Reviews 2

History 25

  1. Gerrit Code Review pushed patch set 1 for main to change 92660 status New Under Review 02/04/26, 10:47

  2. Gerrit Code Review pushed patch set 1 for 13.4 to change 93595 04/09/26, 09:21

  3. Gerrit Code Review pushed patch set 2 for 13.4 to change 93595 04/09/26, 09:34

  4. Dennis Purisevic commented and changed status Under Review Resolved done 0 % 100 % 04/09/26, 09:45

    Applied in changeset commit:f798e73c0166934c169c8832bd24b908d3177bd5.

  5. Benni Mack changed status Resolved Closed 04/21/26, 11:30