-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
ERROR while scrolling back outside the refferred scrollview #148
Comments
Hey i wasn’t able to fix it but i made some hacky solution that work for me if you want to use.
if you have multiple tours you can add the tourkey to the if statment and adjust it so it work for each tour(didnt try this yet).
to just
this seems to work for me if you want to use it or have suggestions to make it better it much appreciated. |
i solved it by using multiple tour guides , but i am surprised tour guide doesnt work by only position . React should release a core package about it i think :D |
@nihatt Could you fix it? |
@navaspavil yes , i used multiple guides. |
and call next guides after the first guide is finished? @nihatt |
@Drzaln Yes , giving them each id's and calling them 1by1 helped me |
in my code zone 1 and 2 works perfectly with scroll thanks to @xcarpentier
but when i come to zone 3 which is outside the scroll view i get an error which is telling me
`view <RCTShadowView: 0x7f8efd4bdb90; viewName: RCTView; reactTag: 105; frame: {{0, 0}, {234, 24}}> (tag #105) is not a descendant of <RCTShadowView: 0x7f8efd4725c0; viewName: RCTScrollView; reactTag: 669; frame: {{0, 108}, {390, 657}}> (tag #669)
RCTMeasureLayout
RCTUIManager.m:1392
-[RCTUIManager measureLayout:relativeTo:errorCallback:callback:]
invoking_
-[NSInvocation invoke]
-[NSInvocation invokeWithTarget:]
-[RCTModuleMethod invokeWithBridge:module:arguments:]
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
`
my code is like that :
` <View style={{ width: '60%' }}>
<TouchableOpacity
style={[styles.profileImage]}
onPress={() => toggle()}>
{patientDetail?.data?.fullName ?? ''}
<TouchableOpacity
style={{
paddingTop: 10,
}}
onPress={() => {
navigation.navigate('BasketScreen');
}}>
The text was updated successfully, but these errors were encountered: