I have been trying to use the Office UI Fabric's Command Bar control in Office.js API Microsoft Word application.
The buttons that are seen in the main bar all work as intended when the app is displayed in the maximum width of the task pane. When I re-size the task pane to smaller width and the buttons move into the '...'
(ellipsis) drop down they stop working.
I've tried explicitly adding copies of the buttons in the code into the ms-CommandBar-overflowButton
container, but it will only take the functionality of the first item and duplicates it for every other item. I've used the code from the Ui Fabric JS documentation page and I'm not sure why the buttons stop working when moved into context menu.
Office UI Fabric version: 1.2.0 Office UI Fabric Core version: 4.1.0
this.contextualItemOnClick = this._elements.contextMenu.querySelector(CONTEXTUAL_MENU_LINK).onclick;
– Marmalade