Overflow issue with sap.m.MenuButton and sap.m.OverflowToolbar
OpenUI5 version: 1.40.8
Browser/version (+device/version): Google Chrome
Any other tested browsers/devices(OK/FAIL): IE 11 (FAIL)
URL (minimal example if possible): https://jsfiddle.net/2va1omz7/
Steps to reproduce the problem:
- Resize the output pane
What is the expected result? The same overflow behavior as sap.m.Button would be observed
What happens instead? The sap.m.MenuButton controls do not overflow.
Hi @LucienCooper,
Thanks for your ticket! Unfortunately this is not very well document it but not all controls can overflow inside m.OverflowToolbar. All supported controls are in this file https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/OverflowToolbarAssociativePopoverControls.js this static property holds all supported controls OverflowToolbarAssociativePopoverControls._mSupportedControls. If control in this array has property "canOverflow: true," so it can overflow.
Unfortunately sap.m.MenuButton is not part of this list.
I will discuss with the appropriate people to add them to the control documentation.
Kind regards, Petyo (openUI5 Dispatcher)