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 5546e95 commit 6b164c8Copy full SHA for 6b164c8
core/src/components/tab/tab.tsx
@@ -55,12 +55,7 @@ export class Tab implements ComponentInterface {
55
56
@Watch('active')
57
changeActive(isActive: boolean) {
58
- if (isActive) {
59
- // ensure tabindex gets updated before setting focus to the element
60
- setTimeout(() => {
61
- this.el.focus();
62
- }, 50);
63
-
+ if (isActive) {
64
this.prepareLazyLoaded();
65
}
66
@@ -88,7 +83,6 @@ export class Tab implements ComponentInterface {
88
83
'ion-page': component === undefined,
89
84
'tab-hidden': !active,
90
85
}}
91
- tabIndex={!active ? '-1' : '0'}
92
86
>
93
87
<slot></slot>
94
</Host>
0 commit comments