KHisir / TabView

TabView is a Angular container component to group content with fixed -and dynamic tabs. Created with the help of ng-content, ng-template and ng-container.
1 stars 0 forks source link

feature request #1

Open ziqiangai opened 2 years ago

ziqiangai commented 2 years ago

image This is what happens when I add too many tabs.

When the number of tab panels is too large, there are two processing strategies:

  1. Add horizontal scroll bar. A similar case is postman.But postman doesn't do well, because since it can slide, it's not necessary to set the li at the top so short image

  2. Limit the number of displays and fold up the excess. A case is the tab component of ant design.we can see here image

I don't know which strategy is good, but it's best to support one first, which will make the component more powerful.

I am looking for a useful tabview component, and your work is already very good. My coding skills are not enough, otherwise I will try to make changes.

KHisir commented 2 years ago

I can do that in the next few days. I think the proposed solution 2 is very smart. This is also similar to my breadcrumb component!

https://cc-angular-breadcrumb.stackblitz.io/

ziqiangai commented 2 years ago

Waiting for your good news

KHisir commented 2 years ago

Changes are uploaded!

If you want, you can support me on Ko-fi: https://ko-fi.com/componentcollection