Skip to content
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

Declarative Shadow DOM not working (in Chrome) #4

Closed
thescientist13 opened this issue Oct 12, 2023 · 1 comment
Closed

Declarative Shadow DOM not working (in Chrome) #4

thescientist13 opened this issue Oct 12, 2023 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@thescientist13
Copy link
Owner

thescientist13 commented Oct 12, 2023

Noticed that if the Card component is not loaded on the page when embedding HTML from the backend APIs, nothing will render on the page.

Screenshot 2023-10-12 at 8 49 22 AM

Screenshot 2023-10-12 at 8 49 55 AM

I assumed this might not work in all browsers since they don't all support DSD and that we might have to use a polyfill, but shouldn't Chrome at least?


For comparison, if I look at the WCC based example, I can go to the products page with JavaScript disabled and still see the product listings. (the button might not work, but the cards at least render)
https://greenwood-demo-adapter-vercel.vercel.app/products/
Screenshot 2023-10-17 at 2 19 31 PM

@thescientist13 thescientist13 added bug Something isn't working question Further information is requested labels Oct 12, 2023
@thescientist13 thescientist13 self-assigned this Oct 12, 2023
@thescientist13 thescientist13 mentioned this issue Oct 12, 2023
6 tasks
@thescientist13
Copy link
Owner Author

Actually, looks like it is working, even with JavaScript disabled. Was probably more an issue with not running async tasks
Screenshot 2023-10-17 at 9 45 19 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant