Calcite-Modal "Close" Button not Triggering calciteModalClose event #7655
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Monitor
Issues logged by ArcGIS Monitor 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.
impact - p0 - emergency
User set priority impact status of p0 - emergency
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
regression
Issues that are caused by changes in a release, but were working before that.
Milestone
Check existing issues
Actual Behavior
In
calcite-modal
when using the built-in "Close" button in the header, thecalciteModalClose
andcalciteModalBeforeClose
events aren't firing.Expected Behavior
Using the "Close" button should trigger the
calciteModalClose
event.Reproduction Sample
https://codepen.io/tom12993/pen/MWZePrK?editors=1001
Reproduction Steps
1.7.0
a. Observe the Console, and see that the event is logged
a. Observe the Console, and see that the event is NOT logged
1.6.1
and notice that the event is triggered both times.Reproduction Version
1.7.0
Relevant Info
No response
Regression?
1.6.1
Priority impact
p0 - emergency
Impact
Modals aren't working as expected when closed via the "X" button. Prevents the modal from being opened a 2nd time in our case, because the modal's "open" state is never set to false due to the event not triggering. Also affects our behaviors that are expected to happen when our modals close.
Calcite package
Esri team
ArcGIS Monitor
The text was updated successfully, but these errors were encountered: