[FR] Some middle-ground between TabContainer and Bar
Is your feature request related to a problem?
Hi, colleagues!
This is a feature request to achieve more versatility when using TabContainer or Bar components:
In our design, we would have tabs on the left and action buttons ("display settings" / "save" / etc) on the right. This is currently not possible using UI5-webcomponents React.
Describe the solution you'd like
The way we see it, the implementation of this Feature Request could be achieved in three ways
- Adding an
endContentslot inTabContainer, so that we can create our 'custom buttons'; - Exposing
TabStripItem; - Making
SegmentedButtonhave custom styling option to look likeTabStripItems on aBar;
Thanks for the great work and best regards,
Describe alternatives you've considered
As of now, we either
- use a
SegmentedButtoninstead of actual tabs and control the visibility of aFlexBoxmanually, for each tab; - repeat our common buttons throughout all tabs, and have them occupy an entire row of space unecessarily
Additional Context
No response
Organization
SAP
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.
Hello @sap-lh,
To ensure we can process your feature request appropriately, please create separate requests for each of your suggestions, as different teams are responsible for the respective components.
Additionally, could you please clarify what you mean by “Exposing TabStripItem” and explain why you need this enhancement?
Thank you in advance! Best regards, Ivaylo
Thanks colleagues for the comments!
What I mean is that if I could put a TabStripItem inside a Bar and use it as though it was a RadioButton group, that would be enough to mimic the behaviour of the TabContainer in a Bar;
But the preferred solution for me would be to have the endContent slot in Tab. Can we proceed with that single suggestion initially?
Hello colleagues,
Could you please have a look at this feature request, where reporter suggests that Tab should have endContent slot?
Thanks and regards, Ivaylo
@sap-lh For this we need Designer's involvement Please register this feature request (in Jira) as described on this page https://sap.sharepoint.com/sites/204212/SitePages/Home.aspx