Bug(color-picker): Value does not change when using shift+up/down arrow #7351
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Maps SDK for JavaScript
Issues logged by ArcGIS SDK for JavaScript 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.
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Actual Behavior
The color picker value updates correctly if using
up/down arrow keys
in any of ther/g/b
orh/s/v
input boxes, but the value does not update if usingshift+up/down arrow keys
(unless you pressup/down arrow keys
again without shift)Screen.Recording.2023-07-20.at.15.38.18.mov
Expected Behavior
The value would update regardless if
shift
is pressed or notReproduction Sample
https://developers.arcgis.com/calcite-design-system/components/color-picker/
Reproduction Steps
<calcite-color-picker />
(or use the official sample - https://developers.arcgis.com/calcite-design-system/components/color-picker/)r/g/b
orh/s/v
input fields (like in the video)up/down arrow keys
and see that HEX value and previews update with each clickshift + up/down arrow keys
and see that HEX value and previews do not updateThis might be a separate issue, but while input fields, and hue slider support the
shift+up/down arrow keys
gesture, thecolor-field
canvas (the rectangle at the top of the color picker) does not respect the shift key - the value changes by the same amount regardless if shift is pressed or not. The issue is that this is inconsistent - all but one component in color picker support theshift
keyReproduction Version
1.4.x (May 2023)
Relevant Info
Chrome 114 (latest version at the moment), on macOS 13.4.1 (the latest allowed by Esri)
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript
The text was updated successfully, but these errors were encountered: