webviewer-ui icon indicating copy to clipboard operation
webviewer-ui copied to clipboard

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

Open vekunz opened this issue 9 months ago • 3 comments

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.

vekunz avatar Nov 23 '23 17:11 vekunz

Hi @vekunz,

Thanks for this report. I've verified there is a regression here. This has been added to our backlog - when it gets addressed we will let you know which version will have the fix via this report.

Thanks

bollain avatar Nov 24 '23 23:11 bollain

Is there any forecast for when the error will be fixed?

vekunz avatar Mar 15 '24 14:03 vekunz

Hey @vekunz,

This issue is still in the backlog, I will reach out to our PMs to schedule it. In the meantime you can try our new Modular UI which should allow you to do these types of customizations and more. Docs here.

bollain avatar Mar 29 '24 00:03 bollain