Skip to content

Conversation

@krunal-lw
Copy link

@krunal-lw krunal-lw commented Aug 30, 2022

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

@Drzaln
Copy link

Drzaln commented Sep 1, 2023

Hi @xcarpentier
can you check this PR?

@imamrobani
Copy link

need this, please approve and merge

@CrisRonda
Copy link

Hi, is this still under review?

Copy link

@sssajjad007 sssajjad007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls merge this

@Krollitte
Copy link

@xcarpentier, please, dude, we need this

@mtebele
Copy link

mtebele commented Feb 17, 2025

Please merge!

@mtebele
Copy link

mtebele commented Feb 18, 2025

Hi guys, find attached the patch file :)

rn-tourguide-npm-3.3.2-95bf1b8385.patch

const setCurrentStep = async (key: string, step?: IStep) =>
new Promise<void>(async (resolve) => {
if (scrollRef && step) {
await step.wrapper.measureLayout(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Prince-Sarfo
Copy link

Hi guys, find attached the patch file :)

rn-tourguide-npm-3.3.2-95bf1b8385.patch

The patch is not working for me

@Prince-Sarfo
Copy link

Please merge it

@Prince-Sarfo
Copy link

Hi guys, find attached the patch file :)

rn-tourguide-npm-3.3.2-95bf1b8385.patch

@mtebele How do I get the patch to work

@mtebele
Copy link

mtebele commented Jun 11, 2025

Hi guys, find attached the patch file :)

rn-tourguide-npm-3.3.2-95bf1b8385.patch

@mtebele How do I get the patch to work

  1. Place the file inside the .yarn/patches/ directory.

  2. Add this to your package.json:

{
"dependencies": {
"rn-tourguide": "patch:rn-tourguide@npm:3.3.2#./.yarn/patches/rn-tourguide-npm-3.3.2-95bf1b8385.patch"
}
}

  1. Run yarn install

@Prince-Sarfo
Copy link

Prince-Sarfo commented Jun 11, 2025

Screenshot 2025-06-11 163458

Hi guys, find attached the patch file :)
rn-tourguide-npm-3.3.2-95bf1b8385.patch

@mtebele How do I get the patch to work

  1. Place the file inside the .yarn/patches/ directory.
  2. Add this to your package.json:

{ "dependencies": { "rn-tourguide": "patch:rn-tourguide@npm:3.3.2#./.yarn/patches/rn-tourguide-npm-3.3.2-95bf1b8385.patch" } }

  1. Run yarn install

It seems the start in the patch too does not accept a ref

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

Successfully merging this pull request may close these issues.