You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The main menu, navigation, and status bars are documented as enabled by default, but with latest versions of this library and dependencies they do not show up by default.
To Reproduce
Steps to reproduce the behavior:
Open StackBlitz template: https://stackblitz.com/edit/ang-jsoneditor. Note that main menu and navigation bars are present (status bar only applicable in code or text mode):
Expected behavior
Main menu bar, navigation, and status bars are enabled by default as documented here:
/** * Adds main menu bar - Contains format, sort, transform, search etc. functionality. True * by default. Applicable in all types of mode. */public mainMenuBar: boolean;/** * Adds navigation bar to the menu - the navigation bar visualize the current position on * the tree structure as well as allows breadcrumbs navigation. * True by default. * Only applicable when mode is 'tree', 'form' or 'view'. */public navigationBar: boolean;/** * Adds status bar to the bottom of the editor - the status bar shows the cursor position * and a count of the selected characters. * True by default. * Only applicable when mode is 'code' or 'text'. */public statusBar: boolean;
Desktop:
OS: Windows
Browser: MS Edge
Ng Version: 16
Additional context
I encountered this issue in an Angular 16 application. We noticed that the main menu bar, navigation bar, and status bar disappeared after updating the application dependencies. To address the issue, we explicitly set the options to true in our application:
The text was updated successfully, but these errors were encountered:
tbdrake
changed the title
Main menu bar is missing by default with latest dependencies
Main menu, navigation, and status bars are missing by default with latest dependencies
Dec 29, 2023
Describe the bug
The main menu, navigation, and status bars are documented as enabled by default, but with latest versions of this library and dependencies they do not show up by default.
To Reproduce
Steps to reproduce the behavior:
StackBlitz fork showing the issue
Expected behavior
Main menu bar, navigation, and status bars are enabled by default as documented here:
Desktop:
Additional context
I encountered this issue in an Angular 16 application. We noticed that the main menu bar, navigation bar, and status bar disappeared after updating the application dependencies. To address the issue, we explicitly set the options to
true
in our application:The text was updated successfully, but these errors were encountered: