You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions
BulmaJS: 0.6.0
Browser: Firefox 63.0b12 (64-bit)
Operating system: Windows 10 Pro
Describe the bug
If there is a list inside of a .tabs-content > ul > li, tab switching stops working. Clicking the first tab works correctly, but clicking on consecutive tabs does not reveal their content.
To reproduce
Click the second tab with the below HTML—it will not reveal the second tab's assigned content.
<divclass="tab-wrapper"><divclass="tabs"><ul><liclass="is-active"><a>Tab 1</a></li><li><a>Tab 2</a></li></ul></div><divclass="tabs-content"><ul><liclass="is-active"><ul><li>1</li><li>2</li><li>3</li></ul></li><li>
Sample text
</li></ul></div></div>
Expected behavior
When a ol or ul with li children is a child of .tabs-content > ul > li, clicking a tab should reveal its content.
Potential fix
This may be as simple as changing the Tabs component's findNavItems and findContentItems queries to > ul > li (instead of just li), so that only the immediate child list items of .tabs and .tabs-content are selected.
The text was updated successfully, but these errors were encountered:
Versions
BulmaJS:
0.6.0
Browser:
Firefox 63.0b12 (64-bit)
Operating system:
Windows 10 Pro
Describe the bug
If there is a list inside of a
.tabs-content > ul > li
, tab switching stops working. Clicking the first tab works correctly, but clicking on consecutive tabs does not reveal their content.To reproduce
Click the second tab with the below HTML—it will not reveal the second tab's assigned content.
Expected behavior
When a
ol
orul
withli
children is a child of.tabs-content > ul > li
, clicking a tab should reveal its content.Potential fix
This may be as simple as changing the Tabs component's
findNavItems
andfindContentItems
queries to> ul > li
(instead of justli
), so that only the immediate child list items of.tabs
and.tabs-content
are selected.The text was updated successfully, but these errors were encountered: