diff --git a/core/src/components/tab/tab.tsx b/core/src/components/tab/tab.tsx index 00ef89376f..6cf7dec8f3 100644 --- a/core/src/components/tab/tab.tsx +++ b/core/src/components/tab/tab.tsx @@ -88,7 +88,7 @@ export class Tab implements ComponentInterface { 'ion-page': component === undefined, 'tab-hidden': !active, }} - tabIndex={!active ? -1 : 0} + tabIndex={!active ? '-1' : '0'} >