[Action] Wrong CSS variable precedence order #11245
Labels
0 - new
New issues that need assignment.
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 - 3
A day or two of work, likely requires updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
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
Check existing issues
Actual Behavior
When
calcite-action
has bothactive
attribute set, and is clicked, the button color is determined by--calcite-action-background-color
variableExpected Behavior
Expected
--calcite-action-background-color-press
or--calcite-action-background-color-pressed
CSS variable to be used when active, as per<arcgis-web-components>/pull/2902#discussion_r1318308
Reproduction Sample
https://codepen.io/maxpatiiuk/pen/RNbQdWR?editors=1100
Reproduction Steps
--calcite-action-background-color
takes precedence over--calcite-action-background-color-press
or--calcite-action-background-color-pressed
Reproduction Version
3.0.0-next.90
Relevant Info
No response
Regression?
No response
Priority impact
impact - p3 - 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: