josdejong/svelte-jsoneditor
Ver no GitHubContext menu don´t work inside shadowDOM.
Open
#49 aberto em 16 de mar. de 2022
bughelp wanted
Métricas do repositório
- Stars
- (1.237 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
If you create a component that extends HTMLElement and use shadowDOM, the context menus wont appear. How to reproduce:
- Create a class that extends HTMLElement
- Create a ShadowDOM via: this.attachShadow({mode: 'open'});
- Create a svelt-jsoneditor inside this custom Element
- Context menu don´t work.
If you keep everthing the same but don´t use shadowDOM it works as expected.