New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invisible View created by ResourceSavingScene on Bottom Tabs #9241
Comments
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
Yes issue is still existing after upgrade to last version ! |
i have the same issue |
Same issue here |
Same with @react-navigation/drawer v5.12.0 when using @react-navigation/native v5.9.2. After downgrading to @react-navigation/drawer to v5.11.5, issue is gone. |
i use @react-navigation/bottom-tabs": "^5.11.5" and i have the same probleme |
@react-navigation/bottom-tabs downgraded to 5.11.3 worked for me |
Fixed in 5.11.6 ! |
Hi! I suppose you are talking about v. 5.11.6 of "@react-navigation/bottom-tabs", but as per my previous post I don't have it installed. "@react-navigation/drawer": "^5.12.6",
"@react-navigation/native": "^5.9.2",
"@react-navigation/stack": "^5.14.1", and the problem persists. Any idea on how to fix? |
I've checked how you fixed this bug in v. 5.11.6 of "@react-navigation/bottom-tabs", and I applied the same fix in "@react-nativation/drawer". Quick-and-dirty fix: add this Final result: <Animated.View
accessibilityViewIsModal={isOpen && drawerType !== 'permanent'}
removeClippedSubviews={Platform.OS !== 'ios'}
onLayout={this.handleDrawerLayout}
style={[
styles.container,
{
transform: [{ translateX: drawerTranslateX }],
opacity: this.drawerOpacity,
},
drawerType === 'permanent'
? // Without this, the `left`/`right` values don't get reset
isRight
? { right: 0 }
: { left: 0 }
: [
styles.nonPermanent,
isRight ? { right: offset } : { left: offset },
{ zIndex: drawerType === 'back' ? -1 : 0 },
],
drawerStyle as any,
]}
pointerEvents="box-none"
>
{renderDrawerContent({ progress })}
</Animated.View> This fix the problem also on "@react-nativation/drawer". |
@satya164 mind bumping bottom-tabs version on npm? It's just |
@bigcupcoffee can you try 5.11.7? |
Works fine now 👍 |
UPDATE Previous dirty-fix doesn't really solve the problem. The following works better in my case. Prerequisites
"@react-navigation/drawer": "^5.12.3",
"@react-navigation/native": "^5.9.2",
"@react-navigation/stack": "^5.14.2", How to fix
I can see some line of code with this comment "box-none doesn't seem to work properly on Android", maybe this solution depends on the Android phone OS?. In my case it was an Android 10 on a Samsung S9+. |
Thanks this works for me |
Current Behavior
Hi everyone,
I set up, a small menu, with 2 bottom tabs.
When you scroll on MENU_1, all works fine. If you click MENU_2 and comme back MENU_1, scroll is no more working.
It seems that an hidden View is hover with overflow: hidden, position absolute, top 0, left 0, bottom 0 right 0...
When I inspect > BottomTabNavigator > BottomTabView > ResourceSavingScene > View > RCTView.
All packages are up to date :(
Expected Behavior
To scroll again on Menu_1 after tab switch.
How to reproduce
https://snack.expo.io/@app-rc/tabs
Your Environment
node: v12.20.1
npm: 6.14.11
Thank you for your help :)
The text was updated successfully, but these errors were encountered: