Skip to content

Commit acd3cd8

Browse files
committed
fix(bottom-navigation): fix error on home/resume
1 parent 96cfe1f commit acd3cd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core-tabs/tab-navigation/index.android.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ export abstract class TabNavigation<T extends android.view.ViewGroup = any> exte
215215
const context: android.content.Context = this._context;
216216
const nativeView = new org.nativescript.widgets.GridLayout(context);
217217
const viewPager = new androidx.viewpager2.widget.ViewPager2(context);
218+
viewPager.setSaveEnabled(false);
218219
const lp = new org.nativescript.widgets.CommonLayoutParams();
219220
lp.row = 1;
220221
if (this.tabsPosition === 'top') {

0 commit comments

Comments
 (0)