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. Dennis Purisevic commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-04-09T09:45:11+00:00" > 04/09/26, 09:45 </span>

    Applied in changeset commit:f798e73c0166934c169c8832bd24b908d3177bd5.