Skip to content

sap.m.IconTabBar - Support for not showing selection. #4286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
acacac13 opened this issue May 20, 2025 · 4 comments
Closed

sap.m.IconTabBar - Support for not showing selection. #4286

acacac13 opened this issue May 20, 2025 · 4 comments
Assignees

Comments

@acacac13
Copy link

acacac13 commented May 20, 2025

Why are you proposing this feature?

The default behavior of sap.m.IconTabBar always selects one tab as the active tab. In the content bar, pageTab and scriptTab are two separate IconTabBars, so there isn't support for having only one display an active tabbar. Since the content corresponding to pageTab and scriptTab is different, having tabs with highlighted selections on both can cause confusion.

Image

Image

How should a possible solution look like?

Support setting the tab bar to not show highlighted selections.

Image

Image

Are there alternative approaches?

No response

Any further information you would like to share?

No response

Organization

SAP

Additional Context

Business Impact : SAC

Priority

High

Privacy Policy

I’m not disclosing any internal or sensitive information.

@acacac13
Copy link
Author

I noticed there is a ShowSelection property, but it seems to be deprecated after version 1.15.0.

Image

@LidiyaGeorgieva
Copy link
Contributor

Hello @acacac13 the usage of two IconTabHeaders next to each other with shared content is not the usage the control is designed for.
You can see more information for the usage of IconTabBar in the Fiori Guidlelines: https://experience.sap.com/fiori-design-web/tab-bar-web-component/
and in the Demo Kit documentation: https://sapui5.hana.ondemand.com/#/api/sap.m.IconTabBar

Best Regards,
Lidiya

@acacac13
Copy link
Author

Hi @LidiyaGeorgieva ,
I would like to know if showSelection is used to not display the highlight selection on the tab bar and the reason why it was deprecated. The scenario I provided is just one example, what I truly need is the ability to configure the tabs so they do not display highlights.

@LidiyaGeorgieva
Copy link
Contributor

Hello @acacac13 this property is extremely outdated, deprecated, and non-functional. I am unsure of the reasons for its addition and subsequent deprecation. In contemporary control design, the selection is only hidden when the IconTabBar is collapsed. Once expanded, there should be a visual cue indicating the source tab of the displayed content.

Best Regards,
Lidiya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants