@nativescript-community/ui-material-core-tabs 7.0.31 → 7.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,25 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [7.0.33](https://github.com/nativescript-community/ui-material-components/compare/v7.0.32...v7.0.33) (2022-12-16)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @nativescript-community/ui-material-core-tabs
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [7.0.32](https://github.com/nativescript-community/ui-material-components/compare/v7.0.31...v7.0.32) (2022-12-09)
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* **tabs:** active tabitem isn't visible ([fc286a5](https://github.com/nativescript-community/ui-material-components/commit/fc286a55a67b08403aff027fa49d66f6a7022200))
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
6
25
|
## [7.0.31](https://github.com/nativescript-community/ui-material-components/compare/v7.0.30...v7.0.31) (2022-12-01)
|
7
26
|
|
8
27
|
**Note:** Version bump only for package @nativescript-community/ui-material-core-tabs
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/ui-material-core-tabs",
|
3
|
-
"version": "7.0.
|
3
|
+
"version": "7.0.33",
|
4
4
|
"description": "Material Core Tabs component",
|
5
5
|
"main": "./index",
|
6
6
|
"sideEffects": false,
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"repository": "https://github.com/nativescript-community/ui-material-components",
|
40
40
|
"readmeFilename": "README.md",
|
41
41
|
"dependencies": {
|
42
|
-
"@nativescript-community/ui-material-core": "^7.0.
|
42
|
+
"@nativescript-community/ui-material-core": "^7.0.33"
|
43
43
|
},
|
44
|
-
"gitHead": "
|
44
|
+
"gitHead": "0e601b87754a16516a604d2f32076c9d3b0a8bbd"
|
45
45
|
}
|
@@ -418,8 +418,15 @@ public class TabsBar extends HorizontalScrollView {
|
|
418
418
|
return;
|
419
419
|
}
|
420
420
|
mTabStrip.onTabsViewPagerPageChanged(position, positionOffset);
|
421
|
+
if (positionOffset == 0 && mScrollState == androidx.viewpager.widget.ViewPager.SCROLL_STATE_SETTLING) {
|
422
|
+
scrollToTab(position, 0);
|
423
|
+
}
|
421
424
|
}
|
422
425
|
|
426
|
+
@Override
|
427
|
+
public void onPageScrollStateChanged (int state) {
|
428
|
+
mScrollState = state;
|
429
|
+
}
|
423
430
|
}
|
424
431
|
|
425
432
|
private class TabClickListener implements OnClickListener {
|
Binary file
|