creativetimofficial / ct-material-dashboard-pro

Material Dashboard Pro - Premium Bootstrap 5 Admin
https://demos.creative-tim.com/material-dashboard-pro/pages/dashboards/analytics
116 stars 28 forks source link

[Bug] Re-open - 2nd tab is not selectable #313

Closed liemteksun closed 2 years ago

liemteksun commented 2 years ago

Version

3.0.1

Reproduction link

https://osplit.com/s/material-dashboard-pro-html-v3.0.1/pages/pages/account/invoice2.html

Operating System

Linux

Device

Linux

Browser & Version

Chrome 94

Steps to reproduce

So probably I don't convey my problem correctly before

Clicking the 2nd tab does move the highlighted tab, but that's not the problem that I'm reporting

On https://osplit.com/s/material-dashboard-pro-html-v3.0.1/pages/pages/account/invoice.html, you can see that the 1st tab is highlighted (which is correct)

Now, I am trying to make the 2nd tab highlighted (without having the user to do anything) so I swap the 1st li and 2nd li, but now, none of the tab is highlighted - as seen here https://osplit.com/s/material-dashboard-pro-html-v3.0.1/pages/pages/account/invoice2.html

Thanks

What is expected?

2nd tab is highlighted when the user viewed the page

What is actually happening?

I don't know


Solution

Additional comments

liemteksun commented 2 years ago

issue 309 has a temporary solution for this