gilbarbara / react-joyride

Create guided tours in your apps
https://react-joyride.com/
MIT License
6.62k stars 519 forks source link

Deprecated Reference to popper.js@1.16.1 #1025

Closed buchananwill closed 2 months ago

buchananwill commented 2 months ago

🐛 Bug Report

The 2.8.1 version of react-joyride still references 0.7.9 of react-floater, which in turn references 1.16.1 of popper.js.

To Reproduce

Visible in the package.json files for the respective packages.:

Expected behavior

For react-joyride to reference the most recent version of react-floater, which no longer references the deprecated dependency.

Link to repl or repo

https://github.com/gilbarbara/react-floater/blob/v0.7.9/package.json.

versus:

https://github.com/gilbarbara/react-floater/blob/v0.9.3/package.json

Suggested:

"dependencies": { "@gilbarbara/deep-equal": "^0.3.1", "deep-diff": "^1.0.2", "deepmerge": "^4.3.1", "is-lite": "^1.2.1", "react-floater": "^0.9.3", .....

In:

https://github.com/gilbarbara/react-joyride/blob/main/package.json

gilbarbara commented 2 months ago

Yes, it's known. However this is library isn't still compatible with react-floater above 0.7.x

gilbarbara commented 2 months ago

Duplicate of #937

buchananwill commented 1 month ago

Thanks for replying. I had a look at some of the incompatibilities and resolved some of them on a forked version. I got stuck though with the test behaviour for the Controlled.tsx tour. If you have a moment to answer a query or two, I'd be happy to put some more time in to work through the rest of the tests/migration?

gilbarbara commented 1 month ago

Hey @buchananwill Sure, ask away.

buchananwill commented 1 month ago

Thanks! It's a great library and having looked at several of the alternatives, far, far easier to understand and get running within my own project. I had another crack at the test suite today, and I can now make it pass all the tests, however:

My updated fork is here:

https://github.com/buchananwill/react-joyride/tree/buchananwill-patch-1

I've left in a lot of my comments that I used to predict/figure out what effect my changes were going to have, but I can go through and delete them all if you are happy with my changes and want to pull these updates onto the main branch, but keep the code cleaner.