We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10724a1 commit 0c3e86dCopy full SHA for 0c3e86d
elements/pfe-tabs/src/pfe-tabs.js
@@ -270,7 +270,7 @@ class PfeTabs extends PFElement {
270
this.selectedIndex = tabIndexFromURL;
271
}
272
273
- if (!this.selectedIndex) this.selectedIndex = 0;
+ if (this.selectedIndex === null) this.selectedIndex = 0;
274
275
if (window.ShadyCSS) this._observer.observe(this, TABS_MUTATION_CONFIG);
276
0 commit comments