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

Bug - Calcite Input Type = "color" Does Not Display in Firefox #11313

Open
2 of 6 tasks
mdebella10 opened this issue Jan 15, 2025 · 1 comment
Open
2 of 6 tasks

Bug - Calcite Input Type = "color" Does Not Display in Firefox #11313

mdebella10 opened this issue Jan 15, 2025 · 1 comment
Labels
0 - new New issues that need assignment. ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone needs triage Planning workflow - pending design/dev review.

Comments

@mdebella10
Copy link

Check existing issues

Actual Behavior

The calcite input component with type property set to "Color" does not work in Firefox. This was reproduced on Firefox using Codepen and could not be reproduced on Chrome, Edge, or Safari. On Firefox clicking the input component brings up, what I assume to be, the browser's color picker rather than the calcite one.

Link to Codepen: https://codepen.io/mdebella/pen/azoKmYd?editors=100

Color Picker Shown in Firefox:

Image

Expected Behavior

The calcite input component with type = color should display in Firefox instead of what is displaying right now.

Reproduction Sample

https://codepen.io/mdebella/pen/azoKmYd?editors=100

Reproduction Steps

  1. Open the codepen in Firefox
  2. Click the input component
  3. Non esri color picker will display

Reproduction Version

2.13.2

Relevant Info

Only reproducible on Firefox

Regression?

No response

Priority impact

impact - p1 - need for current milestone

Impact

For the upcoming release we do not want non-esri UI to show for Firefox users.

Calcite package

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

Esri team

ArcGIS Map Viewer

@mdebella10 mdebella10 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 Jan 15, 2025
@github-actions github-actions bot added ArcGIS Map Viewer Issues logged by ArcGIS Map Viewer team members. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone labels Jan 15, 2025
@macandcheese
Copy link
Contributor

macandcheese commented Jan 15, 2025

I think this is working as expected. Calcite Input of type="color" will render the browser's picker - which sometimes does defer to the OS (unless you were doing something custom to display the Calcite Color Picker).

Image Image Image

We have an open issue to add a standalone Input Color Picker component - which would launch the Calcite Color Picker: #1616

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 Map Viewer Issues logged by ArcGIS Map Viewer team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

2 participants