Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calcite color-picker clears alpha hex value on blur #9332

Open
3 of 6 tasks
Jmendo12 opened this issue May 14, 2024 · 0 comments
Open
3 of 6 tasks

Calcite color-picker clears alpha hex value on blur #9332

Jmendo12 opened this issue May 14, 2024 · 0 comments
Labels
0 - new New issues that need assignment. ArcGIS Velocity Issues logged by ArcGIS Velocity team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. calcite-components-react Issues specific to the @esri/calcite-components-react package. estimate - 3 A day or two of work, likely requires updates to tests. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - medium Issue is non core or affecting less that 60% of people using the library

Comments

@Jmendo12
Copy link

Jmendo12 commented May 14, 2024

Check existing issues

Actual Behavior

In a calcite color-picker with the alpha-channel enabled, the alpha value for the hex color will clear the value entered by the user when the input is blurred. See the gif below for an example:
colorpickerissue

This issue can also be observed within the calcite color-picker sample with alpha channel

Expected Behavior

The calcite color-picker should retain the value entered in the hex alpha channel when the input is blurred, like it does for the RBG and HSV alpha values

Reproduction Sample

codesandbox

Reproduction Steps

  1. Edit the hex alpha value within a calcite color-picker
  2. Click anywhere else to blur the hex alpha value input (tabbing blurs as expected)
  3. Observe that the value entered is reset

Reproduction Version

latest

Relevant Info

No response

Regression?

No response

Priority impact

p3 - want for upcoming milestone

Impact

Minor impact that slightly degrades user experience

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Velocity

@Jmendo12 Jmendo12 added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels May 14, 2024
@github-actions github-actions bot added calcite-components Issues specific to the @esri/calcite-components package. calcite-components-react Issues specific to the @esri/calcite-components-react package. p3 - want for upcoming milestone ArcGIS Velocity Issues logged by ArcGIS Velocity team members. labels May 14, 2024
@geospatialem geospatialem added impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone and removed p3 - want for upcoming milestone labels May 21, 2024
@geospatialem geospatialem added p - medium Issue is non core or affecting less that 60% of people using the library estimate - 3 A day or two of work, likely requires updates to tests. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. and removed needs triage Planning workflow - pending design/dev review. labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Velocity Issues logged by ArcGIS Velocity team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. calcite-components-react Issues specific to the @esri/calcite-components-react package. estimate - 3 A day or two of work, likely requires updates to tests. impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. p - medium Issue is non core or affecting less that 60% of people using the library
Projects
None yet
Development

No branches or pull requests

2 participants