User tests: Successful: Unsuccessful:
In some cases, (and specially for 3rd party components and B/C), we need to use bootstrap tabs and not uitab or joomlatab.
The advantage of bootstrap tab is that we have accordion
and slide
variations.
In that case, when the tab is active, the background color is not differentiated from the the non-active tab.
Choose any edit for example com_content/tmpl/article/edit.php
Replace uitab
in
uitab.startTabSet
uitab.addTab
uitab.enTab
uitab.endTabSet
by bootstrap
example bootstrap.startTabSet
Example here for a third party component.
I did not find any other use of .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active
in core.
I tested with various atum main color without issue, but not tested all.
@coolcat-creations
Could you please check there are no undesired consequences?
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) |
joomla-tab does support that. iirc they are called orientation=vertical and view=accordion
Not the same way for accordion and no slide.
For accordion, I have already explained there is what I consider as a bug: one has to click on another tab to close the opened one, which is not the case for bootstrap:
look at sidebyside in com_associations.
With bootstrap, none of these limitations. The code is there and we can use it. There is no reason not to fix the background issue.
There are btw quite a few places where bootstrap accordion and slide are used in core: menutypes, finder, modules. They do not use Tabset thus why they don't need this patch.
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-10 22:35:01 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
?
|
Thanks!
Category | Administration Templates (admin) | ⇒ | Administration Templates (admin) NPM Change |
joomla-tab does support that. iirc they are called orientation=vertical and view=accordion