josdejong/svelte-jsoneditor

Issue with focus when created in a new window.

Open

#90 创建于 2022年6月3日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (149 fork)github user discovery
bughelp wanted

仓库指标

Star
 (1,237 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

Link to pen demonstrating this behavior

贡献者指南