josdejong/svelte-jsoneditor

Issue with focus when created in a new window.

开放

#90 创建于 2022年6月3日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (147 个派生)github user discovery
bughelp wanted

仓库指标

星标
 (1,260 个星标)
PR 合并指标
 (平均合并 9小时 26分钟) (30 天内合并 5 个 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

贡献者指南