Calcite-button - setting `disabled: false` on a button after its creation causes other (unrelated) disabled buttons to again respond to click events in Firefox #9565
When multiple calcite-buttons lie at the same DOM level, setting disabled = false programmatically to one button causes all other neighboring calcite-buttons, regardless of their own disabled setting, to start responding to onClick() events again.
Check existing issues
Actual Behavior
When multiple
calcite-buttons
lie at the same DOM level, settingdisabled = false
programmatically to one button causes all other neighboringcalcite-buttons
, regardless of their owndisabled
setting, to start responding toonClick()
events again.This issue is in a similar vein to https://github.com/Esri/calcite-design-system/issues/8729. It only occurs in Firefox.
Expected Behavior
Setting one
calcite-button's
disabled
attribute should not affect other, unrelated buttons' event responses.Reproduction Sample
https://codepen.io/iyouth66/pen/ZENXMNx?editors=1000
Reproduction Steps
onClick()
event and prints a message in the console.div
tags where necessary. Observe that the problem no longer occurs.Reproduction Version
2.9.0
Relevant Info
Not a regression.
cc @geospatialem
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
AGOL Map Viewer has buttons that lie at the same DOM level that are enabled/disabled programmatically. These buttons encounter this issue.
Calcite package
Esri team
ArcGIS Online