benjaminkott / benjaminkott/bootstrap_package

First li nav-item always marked with class active in Content Element Tab

Open
#675 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Bug Report

## Prerequisites

* [ ] Can you reproduce the problem on TYPO3 v8.7 LTS
* [x] Can you reproduce the problem on TYPO3 v9.5 LTS
* [x] Did you [perform a cursory search]

## Description

Using the Content-element tab the first li nav-item is always marked with class active, even when the last tab is opened

## Steps to Reproduce
https://www.bootstrap-package.com/content-examples/interactive/tab
1. Implement Content Element Tab
2. Create several tab items
3. Check the source code in frontend

**Expected behavior:** on clicking another tab item the class active should switch to choosen nav-item

**Actual behavior:** on clicking another tab item the class active stays at the first nav-item

## Versions
TYPO3 v9.55, Bootstrap Package 10.0.6

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.