grav-plugin-shortcode-ui
grav-plugin-shortcode-ui copied to clipboard
Wrong content for default selected tab
When using [ui-tabs position="top-left" active="2" theme="lite"] on a page with three tabs: after opening the page, the third tab is selected - which is correct. But it is shown the content of tab one.
I have a similar situation with 4 tabs defined (very simplified) as [ui-tabs position="top-left" active="0" theme="default"]. [ui-tab title="one"][div]lorem[/div][/ui-tab] [ui-tab title="two"][div]ipsum[/div][/ui-tab] [ui-tab title="three"][div]dolor[/div][/ui-tab] [ui-tab title="four"][div]sit a[/div][/ui-tab] [/ui-tabs]
- selecting tabs 1 to 3 will display their own contents as designed.
- selecting tab 4 seems to do nothing (except show the last clicked tab's contents), but after this tab 3 will inherit and only display the contents of tab 4