[Modal] calciteModalClose should not fire when open prop is toggled to false #7724
Open
2 of 3 tasks
Labels
1 - assigned
Issues that are assigned to a sprint and a team member.
ArcGIS Online
Issues logged by ArcGIS Online 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.
docs
Issues relating to documentation updates only.
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
low risk
Issues with low risk for consideration in low risk milestones
p - low
Issue is non core or affecting less that 10% of people using the library
Milestone
Check existing issues
Actual Behavior
Currently,
calciteModalClose
event fires both when "X" is clicked or if theopen
prop is toggled tofalse
.Expected Behavior
I asked @driskull and he said it should only fire on "X" click and not when
open
is toggled to false.Reproduction Sample
https://codepen.io/rpanichakit/pen/qBLmRRN?editors=1001
Reproduction Steps
Reproduction Version
1.8.0
Relevant Info
No response
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: