webviewer-ui
webviewer-ui copied to clipboard
[Bug] Toolbar does not show up if 'header' is disabled
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
- Disable 'header' element:
instance.UI.disableElements(['header']);
- 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.
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
Is there any forecast for when the error will be fixed?
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.