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

All object category tabs are displayed when properties are toggled #1487

Open
macnalley opened this issue Feb 6, 2024 · 1 comment
Open

Comments

@macnalley
Copy link

General information

  • json-editor version: 2.14.0
  • Testing past CDN releases, it seems that this bug was introduced in 2.9.0-beta.1

Expected behavior

When a object is set to display in the categories format, and properties are added or removed, then only the currently navigated-to tab of properties will remain displayed.

Actual behavior

When an object is set in the categories format, then adding or removing properties causes all of the tabs' divs to display on the page. While they're normally all in the DOM, typically all but the currently navigated-to tab are marked with style="display: none;". Toggling properties via the property button causes all the tabs to display.

Steps to reproduce the behavior

Direct link to example: https://jsfiddle.net/jLpytsv0/

@link5669
Copy link

I think that this is a bug, not an enhancement request. The UI should not display multiple tabs at once if a new one is checked. I've fixed this in PR #1497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants