Closed boghyon closed 7 years ago
Hi @boghyon,
Thank you for mentioning this issue. This is the expected behavior of the sap.m.MenuButton, however, this indeed is not documented anywhere thus we have created internal incident: 1780055997.
Best Regards,
Hristo
Hi @boghyon,
The documentation was updated and this will be available in the of the library.
Best Regards,
Hristo
Documentation fixed with https://github.com/SAP/openui5/commit/baabc9d1f061835bfd67199731a5cf9ff3756b63
Documentation fixed with https://github.com/SAP/openui5/commit/baabc9d1f061835bfd67199731a5cf9ff3756b63
... now reverted in this new change https://github.com/SAP/openui5/commit/88b563d35a84cf3cbd13b8114fabec7a53f7281f together with the removal of max-width: 12rem;
. Now the sap.m.MenuButton
can expand up to 100% width.
OpenUI5 version: All since MenuButton exists
Tested browsers (OK/FAIL) on Windows 10: FAIL: FF, IE, Edge, Chrome, Opera OK: -
URL (minimal example if possible): https://embed.plnkr.co/zXYqbL/
Steps to reproduce the problem:
What is the expected result? Width of the MenuButton is applied (or
auto
if no width is given):What happens instead? MenuButton has
max-width: 12rem
.Any other information? Not sure if it's a bug or just not documented.