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

Muliples custom elements (full ember apps) have conflict inside host app #18

Open
billyjov opened this issue Jun 30, 2021 · 2 comments
Open

Comments

@billyjov
Copy link

i have an application as a parent app.

I load two different apps as custom elements with lazy loading.

The following problems occur:

With the normal build (not the prod build)

  • When the page is initially loaded, I navigate to the first link with my custom element. (Everything works so far)
  • When I navigate to the other one and come back, I get the following warnings and the element is no longer displayed. Any idea what could be the cause?

2021-06-30 10_26_53-ubuntu-20-lts-2  wird ausgeführt  - Oracle VM VirtualBox

With the prod build

when I build my custom elements with the production build, only one element works and the other does not.

Are there any conflicts?

PS. i'm using shadow DOM

2021-06-30 10_44_14-EmberApp
2021-06-30 10_44_39-localhost_4200_landscapes

@billyjov
Copy link
Author

@Ravenstine Any advice on this ? I gave you access to the repository

@billyjov
Copy link
Author

I found that there is a problem with multiple instances of Ember on the same page

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

No branches or pull requests

1 participant