We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have component on the top half of the screen with charts scroll horizontally.
When i wrap the main component in GestureHandlerRootView the horizontal ScrollView stops working.
Here is the code from root component:
<SafeAreaProvider> <GestureHandlerRootView style={{flex: 1}}> <SafeAreaView style={{flex: 1}}> <PersistGate loading={null} persistor={persistor}> <Provider store={store}> <AllProjectionTabContext> <PaperProvider> <StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} backgroundColor={backgroundStyle.backgroundColor} /> <Main /> </PaperProvider> </AllProjectionTabContext> </Provider> </PersistGate> </SafeAreaView> </GestureHandlerRootView> </SafeAreaProvider>
This is the code from scroll view component.
<> <ScrollView horizontal={true} pagingEnabled={true} snapToInterval={doubleTap ? width / 2 : width} decelerationRate={'normal'} scrollEventThrottle={500} contentOffset={{x: scrollRef.current, y: 0}} onMomentumScrollEnd={handleScroll} showsHorizontalScrollIndicator={false} disableIntervalMomentum={true} > <View style={{flexDirection: 'row', alignItems: 'center'}}> <ChartsRow array={chartArray} refer={handleScrollPosition} lineTwoCheck={lineTwo} yearsDuration={yearsDuration} row={lineTwo ? 1 : 0} /> </View> </ScrollView> <ScenarioNames names={inputScenarioName} /> <YearsBar type={lineTwo ? 'lower row' : 'upper row'} /> </>
2.14.0
0.72.5
Android
The text was updated successfully, but these errors were encountered:
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Sorry, something went wrong.
It looks like you've omitted a few important sections from the issue template.
Please complete Snack or a link to a repository section.
Issue Resolved: Use Scrollview from react-native-gesture-handler
No branches or pull requests
Description
I have component on the top half of the screen with charts scroll horizontally.
When i wrap the main component in GestureHandlerRootView the horizontal ScrollView stops working.
Here is the code from root component:
This is the code from scroll view component.
Steps to reproduce
Gesture Handler version
2.14.0
React Native version
0.72.5
Platforms
Android
The text was updated successfully, but these errors were encountered: