fix: react-native-scrollable-tab-view underline style positioning#30133
Conversation
- move from patch-package to yarn patch - add 1 line style fix
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Moved from patch-package to yarn patch.
If this is too messy, happy to use patch-package.
There was a problem hiding this comment.
It's not possible to use patch-package anymore since yarn v3 upgrade
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9f85b2b. Configure here.
| tabs: { | ||
| height: 50, | ||
| flexDirection: 'row', | ||
| - justifyContent: 'space-around', |
There was a problem hiding this comment.
main style fix - remove the bottom border to use "space-around", so now will default to "flex-start".
This ensures that the banner is aligned with the selected item.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
This component is used across many critical UI flows:
Dependent tags per descriptions:
The tab view rendering changes (layout, animation, pager) could affect visual correctness and interaction in all these flows. Performance Test Selection: |
|




Description
Changelog
CHANGELOG entry: fix: react-native-scrollable-tab-view underline style positioning
Related issues
Fixes: N/A
Manual testing steps
Screenshots/Recordings
Before
After
https://www.loom.com/share/282c62335748460bbd8f62d9d86ad987
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Applies a custom patch to a third-party tab view component, changing underline layout math and Android paging/scroll animation behavior, which could affect tab rendering and swipe performance across screens that use it.
Overview
Switches
@tommasini/react-native-scrollable-tab-viewfrom a normal dependency to a Yarn-patched dependency and adds the patch file under.yarn/patches/.The patch adjusts
DefaultTabBarunderline positioning by introducing optionaltabPadding, computing underline width/translate offsets from an effective width, and usingunderlineStyleinstead oftabBarUnderlineStyle(also removingjustifyContent: 'space-around').On Android, the patched tab view swaps
@react-native-community/viewpagerforreact-native-pager-viewand removesuseNativeDriverfromAnimated.eventscroll handlers.Separately, the Solana webview E2E page object wraps reading the signed message in
Utilities.executeWithRetryto reduce flakiness.Reviewed by Cursor Bugbot for commit 92c6db8. Bugbot is set up for automated code reviews on this repo. Configure here.