[Tabs] Page not loading tab content when clicked #12349
-
I wanted to submit the discussion topic before submitting an issue because I believe this is user error, but I just can't find it. Expected BehaviorWhen I click on a tab, it should add the class .is-active to the div .tabs-panel to show the content associated with the selected tab. Current BehaviorCurrently, the active tab content is loading on page load, but the active class is not being applied when the tab is clicked so Test Case and/or Steps to Reproduce (for bugs)Test Case: (https://codepen.io/nicolascn/pen/dQmVgg?editors=1010)](https://codepen.io/andreamgib/pen/KKXabEv?editors=1010) ContextI am using ACF to autofill the tab titles with ACF text and content with shortcodes. I took them out for the example above and am still getting the same issue. Your Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This can be deleted. I found and corrected the issue! The ul line had role="example-tabs" instead of id="example-tabs" |
Beta Was this translation helpful? Give feedback.
This can be deleted. I found and corrected the issue! The ul line had role="example-tabs" instead of id="example-tabs"