-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content added to empty scrim is not rendered #7032
Comments
**Related Issue:** #7032 ## Summary - Support adding slotted content after initial render - Uses `onSlotChange` to detect slotted elements - Hides content container via the hidden attribute - Updates test
Installed and assigned for verification. |
This looks as-expected in |
@geospatialem, sorry for the bad repro code -- I must have saved over it at some point. I updated the original codepen to match the repro steps. I can confirm that appended child nodes are now appearing as expected. However, I still don't see text nodes appearing, and the latest appears to regress the workaround with seeding the scrim with a Here's the same codepen upgraded to 1.6.0-next.3: https://codepen.io/nwhittaker-esri/pen/NWEVQLO. Repro steps should be the same. |
Thanks for following up, @nwhittaker!
Will follow up with research to determine next steps. |
The fix will be added as part of the September release. There is a workaround when adding a child |
**Related Issue:** #7032 ## Summary - Use new dom utility to test for content - Add stories - Update tests
Installed and assigned for verification. |
Verified in |
Actual Behavior
Given an empty scrim that is already rendered, appending text content or child nodes results in no visual change to the scrim.
Expected Behavior
The appended content becomes visible within the scrim.
Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/yLRwjZw
Reproduction Steps
Reproduction Version
1.4.0
Relevant Info
Interestingly, if the scrim is not initially empty, updates to its content are rendered. A workaround is to seed the empty scrim with a comment.
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: