josdejong / josdejong/svelte-jsoneditor

Context menu don´t work inside shadowDOM.

Open
#49 7 comments 2 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
1.3k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

If you create a component that extends HTMLElement and use shadowDOM, the context menus wont appear.
How to reproduce:
1. Create a class that extends HTMLElement
2. Create a ShadowDOM via: this.attachShadow({mode: 'open'});
3. Create a svelt-jsoneditor inside this custom Element
4. Context menu don´t work.

If you keep everthing the same but don´t use shadowDOM it works as expected.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.