Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
293 stars 75 forks source link

Color picker text gets highlighted #9977

Closed nel11211 closed 3 months ago

nel11211 commented 3 months ago

Check existing issues

Actual Behavior

Color picker text gets highlighted when dragging cursor over during color selection.

Expected Behavior

When the user is dragging the color picker around the swatch, it should not also highlight the text when it gets waved over. 2.10.1 has the expected behavior.

Reproduction Sample

https://codepen.io/nel11211/pen/ExBXeLy?editors=1000

calcite-color-picker-text-selection-bug

Reproduction Steps

  1. In a calcite-color-picker component, click and drag in the swatch to select a color.
  2. Drag cursor outside and below the color picker.
  3. Text gets highlighted.

Reproduction Version

2.11.1

Relevant Info

Regression (bug not seen on 2.10.1):

calcite-color-picker-text-selection-before

Regression?

2.10.1

Priority impact

impact - p3 - not time sensitive

Impact

No response

Calcite package

Esri team

ArcGIS Charts

geospatialem commented 3 months ago

Possibly related to https://github.com/Esri/calcite-design-system/commit/b2be62566821e36b985d133b1c867b3cfb51fa84

github-actions[bot] commented 3 months ago

Installed and assigned for verification.

DitwanP commented 3 months ago

🍡 Verified on 2.12.0-next.13 https://codepen.io/Ditwan-Price/pen/VwJrXRN?editors=1000