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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using floaterProps.getPopper stops lifecycle events from triggering #875

Closed
a1994lex opened this issue Dec 19, 2022 · 1 comment
Closed
Labels

Comments

@a1994lex
Copy link

馃悰 Bug Report

I am trying to use the getPopper attribute in floaterProps to determine the final placement of my tooltip as determined by popperjs/@core. When I provide the getPopper attribute in floaterProps for react-joyride, each step in my tour closes after the next button is clicked. It looks like the lifecycle events are not getting updated.

To Reproduce

Add the getPopper prop to the Joyride component: <Joyride floaterProps={{ getPopper: () => {} }} ... />

Expected behavior

When advancing to the next step, the tour automatically opens the next tooltip,

Actual behavior

With the prop getPopper added, the next tooltip does not open automatically when advancing to the next step.

Link to code sandbox

https://codesandbox.io/s/affectionate-greider-3lhotn?from-embed

@gilbarbara
Copy link
Owner

Fixed in 2.7.2
Thanks

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

Successfully merging a pull request may close this issue.

2 participants