openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Control suggestion: Make sap.uxap.AnchorBar standalone

Open sloewhite opened this issue 10 years ago • 1 comments

I love the AnchorBar for a wide range of reasons. Basically it's a text-only IconTabBar with submenus and great responsiveness.

However it was a mess to get it to work without the ObjectPageLayout. You have to create your own buttons which have to have special properties ("sectionId", "bTitleVisible", "segment", "bHasSubMenu"). And as soon as the internals change (which ofc happened... right now the press event handler of my button does not fire in "mobile") my "misused" AnchorBar doesn't work anymore.

I know, the name (Anchor) suggests that this bar is designed for a single page with many sections, but I'd like to use it as a tab bar replacement because I highly prefer the design and usability.

Is there a possibility to

  • extend the sap.m.IconTabBar with some of the AnchorBar's features or
  • make a new control (sap.m.ResponsiveTabBar?) which works similar to the AnchorBar

in an upcoming release?

sloewhite avatar Feb 22 '16 14:02 sloewhite

With the addition of useIconTabBar my problem seems solved, so this can be closed.

sloewhite avatar Feb 08 '17 11:02 sloewhite