Skip to content
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

[BUG]:You specified onScroll on a <ScrollView> but not scrollEventThrottle. You will only receive one event #561

Open
kophaiphuoc opened this issue Feb 27, 2024 · 0 comments

Comments

@kophaiphuoc
Copy link

kophaiphuoc commented Feb 27, 2024

this is my code:
<LineChart
thickness={3}
color={colors.gradientHomeF}
noOfSections={3}
areaChart
yAxisTextStyle={{color: colors.grayicon}}
data={convertedData}
curved
startFillColor={colors.yellow}
endFillColor={colors.white}
startOpacity={0.4}
endOpacity={0.4}
spacing={38}
backgroundColor={colors.white}
rulesColor={colors.transparent}
rulesType="solid"
initialSpacing={10}
yAxisColor={colors.transparent}
xAxisColor={colors.transparent}
dataPointsHeight={20}
dataPointsWidth={20}
scrollEventThrottle={16}
showScrollIndicator={false}
/>

I use "react-native-gifted-charts": "^1.4.7" and error for IOS " You specified onScroll on a but not scrollEventThrottle. You will only receive one event. Using 16 you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision."

Hope to hear from you soon, thank you ! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant