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

Scanner sample code (lit) does not open and error in console #789

Open
zx5000 opened this issue Jun 21, 2023 · 3 comments
Open

Scanner sample code (lit) does not open and error in console #789

zx5000 opened this issue Jun 21, 2023 · 3 comments

Comments

@zx5000
Copy link

zx5000 commented Jun 21, 2023

After opening the sample code nothing happens on the screen of iPhone or Chrome (macOs) however there is an error on the console.

Uncaught (in promise) HTML Element with id=[object HTMLDivElement] not found reactive-element.js?module:6

See it here.
https://greencountrytechnical.com/lit/

@luckyluggi
Copy link

Yeah i have the same problem.

@ErykKurzepa
Copy link

same problem here

@iStefo
Copy link

iStefo commented Feb 14, 2024

Leaving this here for future readers:

The problem can be solved by passing an element in the shadow root directly to the initialiser, which has been made possible through the work of @bilal-elchami in this PR: #697 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants