-
Notifications
You must be signed in to change notification settings - Fork 573
Open
Description
IMPORTANT
- My question is related to the samples and content within this repository. For all other issues, open a ticket with Esri Technical Support or post your question in the community forum.
- I have checked for existing issues to avoid duplicates. If someone has already opened an issue for what you are experiencing, please add a 👍 reaction and comment as necessary to the existing issue instead of creating a new one. You can also refer to this repo's troubleshooting guide for hints and suggestions.
Actual behavior
The .shadowRoot property of the arcgis-map component refers to itself, rather than a ShadowRoot object. We discovered this when trying to use Playwright's codegen feature to build tests for our application using the new arcgis components.
This issue causes an infinite recursion error in Playwright's codegen tool. See comment here
Expected behavior
.shadowRoot property of an arcgis web component should return a ShadowRoot object, not the element itself.
Reproduction sample
https://github.com/jlczapski/arcgis-web-components
Reproduction steps
git clone https://github.com/jlczapski/arcgis-web-componentspnpm ipnpm dev- Open browser
- Find
arcgis-mapcomponents in devtools - In console,
$0.shadowRootreturns<arcgis-map item-id="e691172598f04ea8881cd2a4adaa45ba" zoom="4" hydrated="">...</arcgis-map>
Reproduction browser
Chrome 134 on Windows 11
Operating System (check https://whatsmyos.com)
- OS: Windows 11 64-bit
- Device: Dell Precision 3560
Metadata
Metadata
Assignees
Labels
No labels