-
Notifications
You must be signed in to change notification settings - Fork 86
Disabled buttons where the 'disabled' attribute is set dynamically are clickable in Firefox (React) #8203
Copy link
Copy link
Closed
Labels
Realtime (ArcGIS Velocity)Issues logged by Realtime (ArcGIS Velocity) team members.Issues logged by Realtime (ArcGIS Velocity) team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.Bug reports for broken functionality. Issues should include a reproduction of the bug.calcite-components-reactIssues specific to the @esri/calcite-components-react package.Issues specific to the @esri/calcite-components-react package.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivespikeIssues that need quick investigations for time estimations, prioritization, or a quick assessment.Issues that need quick investigations for time estimations, prioritization, or a quick assessment.
Milestone
Metadata
Metadata
Assignees
Labels
Realtime (ArcGIS Velocity)Issues logged by Realtime (ArcGIS Velocity) team members.Issues logged by Realtime (ArcGIS Velocity) team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.Bug reports for broken functionality. Issues should include a reproduction of the bug.calcite-components-reactIssues specific to the @esri/calcite-components-react package.Issues specific to the @esri/calcite-components-react package.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivespikeIssues that need quick investigations for time estimations, prioritization, or a quick assessment.Issues that need quick investigations for time estimations, prioritization, or a quick assessment.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Check existing issues
Actual Behavior
Similar to #7043, in Firefox when using the React wrapper, calcite-buttons which have their
disabledattribute set dynamically can still be clicked when disabled.Expected Behavior
In Firefox, calcite-buttons with the React wrapper which are disabled dynamically cannot be clicked when disabled.
Reproduction Sample
https://codesandbox.io/s/disabled-button-z2mmrd
Reproduction Steps
Reproduction Version
1.9.2
Relevant Info
MacOS Sonoma, Firefox, React wrapper
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
Currently working around this by using the recommended workaround of checking if the button is disabled within the click handler.
Calcite package
Esri team
Realtime (ArcGIS Velocity)