#40 - Usage inside scrollview issue fixed#112
Conversation
|
Hi @xcarpentier |
|
need this, please approve and merge |
|
Hi, is this still under review? |
|
@xcarpentier, please, dude, we need this |
|
Please merge! |
|
Hi guys, find attached the patch file :) |
| const setCurrentStep = async (key: string, step?: IStep) => | ||
| new Promise<void>(async (resolve) => { | ||
| if (scrollRef && step) { | ||
| await step.wrapper.measureLayout( |
There was a problem hiding this comment.
It's probably due to the age of the PR and the differences in react-native since then, but this needs to be step.target, or this will throw with the following error if someone wraps a composite component with a TourGuideZone: ERROR Warning: ref.measureLayout must be called with a ref to a native component.
The patch is not working for me |
|
Please merge it |
@mtebele How do I get the patch to work |
{
|
It seems the start in the patch too does not accept a ref |

Hello Xavier Carpentier, I have fixed scroll issue in plugin, so now we can pass scrollView ref with start function and plugin automatically scroll to the target element