From c0142a760b55e9e6d04e2e9579d122433ce2fd8d Mon Sep 17 00:00:00 2001 From: Chukwu Smart Date: Fri, 21 Apr 2023 23:10:06 +0100 Subject: [PATCH 1/3] Update material-top-tab-navigator.md Adding "overScrollMode" prob to the Tab-Navigator removes and setting to "false" removes the overScrollMode animation in Andriod. I think Should be added in the docs. --- versioned_docs/version-6.x/material-top-tab-navigator.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/versioned_docs/version-6.x/material-top-tab-navigator.md b/versioned_docs/version-6.x/material-top-tab-navigator.md index a279668fd94..10a40dde47c 100755 --- a/versioned_docs/version-6.x/material-top-tab-navigator.md +++ b/versioned_docs/version-6.x/material-top-tab-navigator.md @@ -123,6 +123,14 @@ Style to apply to the view wrapping each screen. You can pass this to override s Style to apply to the tab view container. +#### `overScrollMode` + +Used to override default value of overScroll mode in Android. + +- `'auto'`: Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + #### `tabBar` Function that returns a React element to display as the tab bar. From 3f563e33140379e05fcb3194b2ce5532921e4441 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Mon, 12 Jan 2026 19:09:32 +0100 Subject: [PATCH 2/3] Document for all versions --- .../version-6.x/material-top-tab-navigator.md | 20 +++++++++++-------- versioned_docs/version-6.x/tab-view.md | 16 +++++++++++---- .../version-7.x/material-top-tab-navigator.md | 12 +++++++++++ versioned_docs/version-7.x/tab-view.md | 16 +++++++++++---- .../version-8.x/material-top-tab-navigator.md | 12 +++++++++++ versioned_docs/version-8.x/tab-view.md | 16 +++++++++++---- 6 files changed, 72 insertions(+), 20 deletions(-) diff --git a/versioned_docs/version-6.x/material-top-tab-navigator.md b/versioned_docs/version-6.x/material-top-tab-navigator.md index f515a59df12..1a25e1849e1 100755 --- a/versioned_docs/version-6.x/material-top-tab-navigator.md +++ b/versioned_docs/version-6.x/material-top-tab-navigator.md @@ -107,6 +107,18 @@ String indicating whether the keyboard gets dismissed in response to a drag gest - `'on-drag'`: the keyboard is dismissed when a drag begins. - `'none'`: drags do not dismiss the keyboard. +#### `overScrollMode` + +Used to override default value of pager's overScroll mode. + +Possible values: + +- `'auto'` (default): Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + +Only supported on Android. + #### `initialLayout` Object containing the initial height and width of the screens. Passing this will improve the initial rendering performance. For most apps, this is a good default: @@ -125,14 +137,6 @@ Style to apply to the view wrapping each screen. You can pass this to override s Style to apply to the tab view container. -#### `overScrollMode` - -Used to override default value of overScroll mode in Android. - -- `'auto'`: Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. -- `'always'`: Always allow a user to over-scroll this view. -- `'never'`: Never allow a user to over-scroll this view. - #### `tabBar` Function that returns a React element to display as the tab bar. diff --git a/versioned_docs/version-6.x/tab-view.md b/versioned_docs/version-6.x/tab-view.md index 78d137b11cc..195cb12562c 100644 --- a/versioned_docs/version-6.x/tab-view.md +++ b/versioned_docs/version-6.x/tab-view.md @@ -285,6 +285,18 @@ String indicating whether the keyboard gets dismissed in response to a drag gest - `'on-drag'`: the keyboard is dismissed when a drag begins. - `'none'`: drags do not dismiss the keyboard. +##### `overScrollMode` + +Used to override default value of pager's overScroll mode. + +Possible values: + +- `'auto'` (default): Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + +Only supported on Android. + ##### `swipeEnabled` Boolean indicating whether to enable swipe gestures. Swipe gestures are enabled by default. Passing `false` will disable swipe gestures, but the user can still switch tabs by pressing the tab bar. @@ -312,10 +324,6 @@ Object containing the initial height and width of the screens. Passing this will /> ``` -##### `overScrollMode` - -Used to override default value of pager's overScroll mode. Can be `auto`, `always` or `never` (Android only). - ##### `sceneContainerStyle` Style to apply to the view wrapping each screen. You can pass this to override some default styles such as overflow clipping: diff --git a/versioned_docs/version-7.x/material-top-tab-navigator.md b/versioned_docs/version-7.x/material-top-tab-navigator.md index 2942f68776f..d9be5a53991 100755 --- a/versioned_docs/version-7.x/material-top-tab-navigator.md +++ b/versioned_docs/version-7.x/material-top-tab-navigator.md @@ -135,6 +135,18 @@ String indicating whether the keyboard gets dismissed in response to a drag gest - `'on-drag'`: the keyboard is dismissed when a drag begins. - `'none'`: drags do not dismiss the keyboard. +##### `overScrollMode` + +Used to override default value of pager's overScroll mode. + +Possible values: + +- `'auto'` (default): Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + +Only supported on Android. + #### `initialLayout` Object containing the initial height and width of the screens. Passing this will improve the initial rendering performance. For most apps, this is a good default: diff --git a/versioned_docs/version-7.x/tab-view.md b/versioned_docs/version-7.x/tab-view.md index b1e13b3d2c2..f5b5127cb62 100644 --- a/versioned_docs/version-7.x/tab-view.md +++ b/versioned_docs/version-7.x/tab-view.md @@ -300,6 +300,18 @@ String indicating whether the keyboard gets dismissed in response to a drag gest - `'on-drag'`: the keyboard is dismissed when a drag begins. - `'none'`: drags do not dismiss the keyboard. +##### `overScrollMode` + +Used to override default value of pager's overScroll mode. + +Possible values: + +- `'auto'` (default): Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + +Only supported on Android. + ##### `swipeEnabled` Boolean indicating whether to enable swipe gestures. Swipe gestures are enabled by default. Passing `false` will disable swipe gestures, but the user can still switch tabs by pressing the tab bar. @@ -327,10 +339,6 @@ Object containing the initial height and width of the screens. Passing this will /> ``` -##### `overScrollMode` - -Used to override default value of pager's overScroll mode. Can be `auto`, `always` or `never` (Android only). - ##### `pagerStyle` Style to apply to the pager view wrapping all the scenes. diff --git a/versioned_docs/version-8.x/material-top-tab-navigator.md b/versioned_docs/version-8.x/material-top-tab-navigator.md index 3797f280e7d..b0977b22f83 100755 --- a/versioned_docs/version-8.x/material-top-tab-navigator.md +++ b/versioned_docs/version-8.x/material-top-tab-navigator.md @@ -135,6 +135,18 @@ String indicating whether the keyboard gets dismissed in response to a drag gest - `'on-drag'`: the keyboard is dismissed when a drag begins. - `'none'`: drags do not dismiss the keyboard. +##### `overScrollMode` + +Used to override default value of pager's overScroll mode. + +Possible values: + +- `'auto'` (default): Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + +Only supported on Android. + #### `initialLayout` Object containing the initial height and width of the screens. Passing this will improve the initial rendering performance. For most apps, this is a good default: diff --git a/versioned_docs/version-8.x/tab-view.md b/versioned_docs/version-8.x/tab-view.md index 81250da1f2c..0463ae8c7e7 100644 --- a/versioned_docs/version-8.x/tab-view.md +++ b/versioned_docs/version-8.x/tab-view.md @@ -304,6 +304,18 @@ String indicating whether the keyboard gets dismissed in response to a drag gest - `'on-drag'`: the keyboard is dismissed when a drag begins. - `'none'`: drags do not dismiss the keyboard. +##### `overScrollMode` + +Used to override default value of pager's overScroll mode. + +Possible values: + +- `'auto'` (default): Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll. +- `'always'`: Always allow a user to over-scroll this view. +- `'never'`: Never allow a user to over-scroll this view. + +Only supported on Android. + ##### `swipeEnabled` Boolean indicating whether to enable swipe gestures. Swipe gestures are enabled by default. Passing `false` will disable swipe gestures, but the user can still switch tabs by pressing the tab bar. @@ -397,10 +409,6 @@ Object containing the initial height and width of the screens. Passing this will /> ``` -##### `overScrollMode` - -Used to override default value of pager's overScroll mode. Can be `auto`, `always` or `never` (Android only). - ##### `pagerStyle` Style to apply to the pager view wrapping all the scenes. From 58c791565f5a8bf2c12040bdd79986216318f02d Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 18:11:13 +0000 Subject: [PATCH 3/3] [autofix.ci] apply automated fixes --- src/plugins/remark-npm2yarn.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/remark-npm2yarn.mjs b/src/plugins/remark-npm2yarn.mjs index 944b44a2d8b..4e05870edb0 100644 --- a/src/plugins/remark-npm2yarn.mjs +++ b/src/plugins/remark-npm2yarn.mjs @@ -24,7 +24,11 @@ function createTabItem({ code, node, pm }) { name: 'TabItem', attributes: [ { type: 'mdxJsxAttribute', name: 'value', value: pm }, - { type: 'mdxJsxAttribute', name: 'label', value: createLabelWithIcon(pm) }, + { + type: 'mdxJsxAttribute', + name: 'label', + value: createLabelWithIcon(pm), + }, ], children: [{ type: node.type, lang: node.lang, value: code }], };