svelte-jsoneditor
svelte-jsoneditor copied to clipboard
Issue with focus when created in a new window.
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.
Thanks for reporting, I indeed see the issue when trying to use the editor in the new window.
This may be related to #49.
Help solving this would be very welcome :)