Skip to content

[Bug] Toolbar does not show up if 'header' is disabled #1036

Open
@vekunz

Description

@vekunz

WebViewer version

10.5.1 (after updated from 10.2.3)

The current behavior

When disabling the header element, the toolbar does not show up, if set manually.

The expected behavior

When set manually, the toolbar should show up even if the header is disabled (like before).

Steps to reproduce

  1. Disable 'header' element: instance.UI.disableElements(['header']);
  2. Set any toolbar group: instance.UI.setToolbarGroup('toolbarGroup-Annotate');

In the DOM, the toolbarGroup is added, but on the toolsHeader element in the DOM, the closed class is not removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions