Notice - content still occupies height after closed via close button #10516
Labels
4 - verified
Issues that have been released and confirmed resolved.
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.
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
regression
Issues that are caused by changes in a release, but were working before that.
Milestone
Check existing issues
Actual Behavior
After closing a
calcite-notice
with the close button, the notice's content itself still takes up space in the DOM, even though the content is hidden.Expected Behavior
The notice's content should not take up space in the DOM.
Reproduction Sample
https://codepen.io/iyouth66/pen/ExqNZWR
Reproduction Steps
calcite-notice
via the close button. Observe that the wrappingdiv
is still scrollable.If you inspect the notice via Dev Tools before closing it, you will see that the shadow-root content is still occupying space after the notice is closed.
Reproduction Version
2.13.0
Relevant Info
Not reproducible before 2.12.0
Regression?
2.11.0
Priority impact
impact - p2 - want for an upcoming milestone
Impact
This seems similar to an older issue related to closed floating elements: #10240.
cc @geospatialem
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: