Skip to content
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

Unselected tabcontainer #10476

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

JohannesDoberer
Copy link

See #10288

@nnaydenow
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-rd,

Could you please check following PR?

@TeodorTaushanov TeodorTaushanov self-requested a review January 7, 2025 12:23
@alexandar-mitsev
Copy link
Contributor

Hi @JohannesDoberer ,

Have you considered the option to have a first tab which represents your default state. It could be called "Default", "Main" or something in that direction.
This way you would ensure a better user experience - meaning that the users will have an obvious option how they can return to the initial state.

Otherwise if we introduce an option for "unselected" tab container - the user has no way to return the tab container to this initial state.

Can you elaborate more on the design you have - what does the user see when you open the side navigation item.

  • Case 1 - the user sees the main content related to the side nav item. When they choose a tab - the main content hides. For this case I would say it is much better for the user to have a default tab opened.
  • Case 2 - the user sees the main content and it stays opened even after the user chooses a tab. This case would be different - it is more like collapsing and expanding of the tab container. For this we already have an attribute "collapsed". But you still need a selected tab, is this the case you are having?

BR

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

Successfully merging this pull request may close these issues.

3 participants