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

Feedback for “Reactour” #644

Open
Alishclientpoint opened this issue Sep 3, 2024 · 2 comments
Open

Feedback for “Reactour” #644

Alishclientpoint opened this issue Sep 3, 2024 · 2 comments

Comments

@Alishclientpoint
Copy link

Hey Reactour team today I have implemented this package in my project and faced an issue I it didn't seem to fix.

I tried to implement only 1 step which worked fine but it was giving me an animation which is not required in one step setup. Could you please provide an option to disable transition for only one step setup

@elrumordelaluz
Copy link
Owner

Hi @ , thanks for open the Issue.

Mind creating a minimal reproduction in a sandbox in order to allow others to debug faster your use-case and try to find a solution as soon as possible? Thanks!

However, you can simply manage transitions of the Popover using its styles prop doable throug Tour styles prop, doing something like this:

<TourProvider
  styles={{ popover: (base) => ({ ...base, transition: "none" }) }}
  steps={steps}
>
  <Main />
</TourProvider>

@Alishclientpoint
Copy link
Author

Thankyou so much for the solution it worked like a charm. Just one another thing I am still seeing a blink it's like we are forcing to stop the transition. It's not that smooth. I don't know if I am right or not but if I am right could please find me a solution for this. Thanks again.

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

2 participants