creativetimofficial / ct-soft-ui-design-system-pro

Soft UI Design System PRO - Premium Bootstrap 5 UI kit
https://www.creative-tim.com/product/soft-ui-design-system-pro
16 stars 2 forks source link

[Bug] Nav pills set second element Initial as active won't work #21

Open netinsiders opened 3 years ago

netinsiders commented 3 years ago

Version

1.0.6

Reproduction link

https://codepen.io/niErik/pen/oNwpgPw

Operating System

OSx

Device

iMac

Browser & Version

Brave, Firefox, Safari

Steps to reproduce

  1. Take https://www.creative-tim.com/learning-lab/bootstrap/navs/soft-ui-design-system -> "Tabs with icons"
  2. Remove "active" class from first "a" tag
  3. Add "active" class to second "a" tag
  4. Reload site

    What is expected?

    The second element should have a border and white background

    What is actually happening?

    No element seems to be active


Solution

Additional comments

rarestoma commented 2 years ago

Hi @netinsiders,

Thank you for working with our products and sorry for our late response.

The nav pills code is custom-made by us using JavaScript and we have to update it to work in the case that you mentioned. I will add it to the 'to do' list for the next updates.

Thank you, Rares

netinsiders commented 2 years ago

Hi, any update here?