Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with focus when created in a new window. #90

Open
kharon4 opened this issue Jun 3, 2022 · 1 comment
Open

Issue with focus when created in a new window. #90

kharon4 opened this issue Jun 3, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kharon4
Copy link

kharon4 commented Jun 3, 2022

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

@josdejong
Copy link
Owner

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 :)

@josdejong josdejong added bug Something isn't working help wanted Extra attention is needed labels Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants