File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
versioned_docs/version-5.x Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ This event is fired when the user presses the tab button for the current screen
263
263
264
264
- If the tab is not focused, tab press will focus that tab
265
265
- If the tab is already focused:
266
- - If the screen for the tab renders a scroll view, scroll to top is performed by ` useScrollToTop `
266
+ - If the screen for the tab renders a scroll view, you can use [ ` useScrollToTop ` ] ( use-scroll-to- top.md ) to scroll it to top
267
267
- If the screen for the tab renders a stack navigator, a ` popToTop ` action is performed on the stack
268
268
269
269
To prevent the default behavior, you can call ` event.preventDefault ` :
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ This event is fired when the user presses the tab button for the current screen
145
145
146
146
- If the tab is not focused, tab press will focus that tab
147
147
- If the tab is already focused:
148
- - If the screen for the tab renders a scroll view, scroll to top is performed by ` useScrollToTop `
148
+ - If the screen for the tab renders a scroll view, you can use [ ` useScrollToTop ` ] ( use-scroll-to- top.md ) to scroll it to top
149
149
- If the screen for the tab renders a stack navigator, a ` popToTop ` action is performed on the stack
150
150
151
151
To prevent the default behavior, you can call ` event.preventDefault ` :
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ This event is fired when the user presses the tab button for the current screen
324
324
325
325
- If the tab is not focused, tab press will focus that tab
326
326
- If the tab is already focused:
327
- - If the screen for the tab renders a scroll view, scroll to top is performed by ` useScrollToTop `
327
+ - If the screen for the tab renders a scroll view, you can use [ ` useScrollToTop ` ] ( use-scroll-to- top.md ) to scroll it to top
328
328
- If the screen for the tab renders a stack navigator, a ` popToTop ` action is performed on the stack
329
329
330
330
To prevent the default behavior, you can call ` event.preventDefault ` :
You can’t perform that action at this time.
0 commit comments