Skip to content

Bug report - Unexpected Node Collapsing Upon Confirm Button Click #123

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

Closed
roman-simionov opened this issue Sep 13, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working should do

Comments

@roman-simionov
Copy link

roman-simionov commented Sep 13, 2024

Describe the bug

Hi,

I've encountered an issue while attempting to add a new node to JSON.

version 1.16.0

Steps to Reproduce:

  1. Open the demo.
  2. Click the Add button on the root node.
  3. Enter a name for the new node.
  4. Click the Confirm button.

Current behavior
The root node collapses unexpectedly.

Expected behavior
The root node should remain expanded after adding a new child node.

This video demonstrates the problem

@roman-simionov roman-simionov added the bug Something isn't working label Sep 13, 2024
@CarlosNZ
Copy link
Owner

Ah okay, thanks. I made a change recently to expand the clickable area for collapsing and had to make sure existing clicks didn't "fall through" and register a collapse click. But it looks like I missed one 😳, so thanks for pointing out. Look for a fix in the next few days :)

@CarlosNZ CarlosNZ self-assigned this Sep 14, 2024
CarlosNZ added a commit that referenced this issue Sep 14, 2024
@CarlosNZ
Copy link
Owner

@roman-simionov -- this is now fixed in v1.16.3

Thanks for bringing it to my attention 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working should do
Projects
None yet
Development

No branches or pull requests

2 participants