josdejong/svelte-jsoneditor
Issue with focus when created in a new window.
Open
#90 opened on Jun 3, 2022
bughelp wanted
Repository metrics
- Stars
- (1,263 stars)
- PR merge metrics
- (Avg merge 9h 26m) (5 merged PRs in 30d)
Description
If a new window is created using window.open() and then the json editor is created with target property set to wind.document.body where wind is the new window or any other element inside wind, the editor stops functioning as usual. There seems to be some issue with focusing on the right element. E.g. the text field for key is not focused when a new prop is created.