Skip to content

ui5-tabcontainer has top box shadow and a border bottom , which is not expected #1769

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
crollioac opened this issue Jun 11, 2020 · 3 comments · Fixed by #1829
Closed

ui5-tabcontainer has top box shadow and a border bottom , which is not expected #1769

crollioac opened this issue Jun 11, 2020 · 3 comments · Fixed by #1829
Assignees
Labels

Comments

@crollioac
Copy link

Hi UI5 Team,
I am from SAP Successfactors team. Thanks for all the UI5 WCs and are very useful. We are using ui5-tabcontainer WC in our new application. And felt that it has some issue. Please resolve and help us to use it as expected.

Describe the bug
As per the fiori 3 navbar, It should not have any box shadow and it should be stretchable to the end of the viewport(width 100%), tabs must be adjustable as per requirement.

To reproduce
Steps to reproduce the behavior:

  1. Go to https://sap.github.io/ui5-webcomponents/playground/components/TabContainer/

Expected behavior
It should behave as IconNavBar. Please refer https://sapui5.hana.ondemand.com/#/entity/sap.m.IconTabBar

Screenshots
ui5_tabcontainer

Context

  • UI5 Web Components version: 0.21.1
  • OS/Platform: Windows
  • Browser (if relevant): Chrome
  • Other information: {...}

Affected components (if known)

Log output / Any errors in the console

{...}
@fifoosid fifoosid self-assigned this Jun 12, 2020
@fifoosid
Copy link
Contributor

Hello @crollioac

As much as I can see you have explained three different bugs:

  1. It should not have any box shadow
  • As you can see in the UI spec from the design team, there should be box-shadow applied.
  1. It should be stretchable to the end of the viewport
  • As you can see here, the TabContainer is fully stretchable.
  1. Tabs must be adjustable as per requirement
  • I am not quite sure what exactly you mean by this. If you need to change the look of a tab or create your own custom tabs take a look at this issue. Moreover here is a repo, which demonstrates how you can create your own custom tabs.

Feel free to close the issue if everything is clear 😊

Best regards,
Filip

@crollioac
Copy link
Author

Hi Filip, Thanks for the response.

  1. If you see the snapshots in the UI-spec you shared, they don't have any box-shadow. And the our applications are also designed as per fiori3 guidelines so they don't have box-shadow too. I don't see the box-shadow to be compulsory. Box-shadow is not expected on to, left and right.
  2. Yes. it is stretchable.
  3. From point 3 what I meant is, can the spacing between the start of tab-container and 1st tab be flexible or customizable.

@fifoosid
Copy link
Contributor

Hello @crollioac

I have some updates about the following points:

1 I had a chat with the designer, responsible for the component and it turns out that the info in the table in the bottom is what is important when it comes to box-shadow(rather than the screenshots). There should be shadow by design. Anyway it should be a little different that the current one. I am preparing a PR to resolve this issue

3 By default this is the spacing that you can find in the attached Fiori UI spec, provided by the designers. If you really want to change it, I would suggest that you create your custom tab, which has the intended spacing.

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

Successfully merging a pull request may close this issue.

3 participants