calcite-card does not properly handle dynamically added footer slot content #10152
Closed
2 of 6 tasks
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Hub
Issues logged by ArcGIS Hub 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 - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
Dynamically added footer slots do not render.
Expected Behavior
Dynamically added footer slots like
<div slot="footer-end">
will render.Reproduction Sample
I think this can only be reproduced by creating a stencil component that uses calcite-card. I could probably do this in React Codesandbox but I don't know react well enough.
Reproduction Steps
Create a component like this:
Then run the samples and observe that the calcite-button in the component works when the initial value of
showSlot
is true but not when the initial value ofshowSlot
is false.Reproduction Version
2.11
Relevant Info
I think this can be fixed by doing something like this in calcite-card:
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
I causes one of the components we commonly use on customer sites to not work properly.
Calcite package
Esri team
ArcGIS Hub
The text was updated successfully, but these errors were encountered: