Fix overlay spotlight
Update hideSpotlight function and componentWillUnmount method in src/components/Overlay.tsx.
- Add
continuousto the destructured props in thehideSpotlightfunction. - Update the
hiddenLifecyclesarray to includeLIFECYCLE.BEACON,LIFECYCLE.COMPLETE, andLIFECYCLE.ERROR. - Update the
shouldHidevariable to account for thecontinuousproperty. - Update the
hideSpotlightfunction to returnshouldHide. - Add state reset for
mouseOverSpotlighttocomponentWillUnmountmethod.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Hey @maoryadin
Did you try the pre-release version?
npm i react-joyride@next
Do you still have the problem with it?
Hey @maoryadin
Did you try the pre-release version?
npm i react-joyride@nextDo you still have the problem with it?
Yes, the pre-release version does not fix the issues I resolved in my PR. I could use a forked version of the release, but I thought it would be nice to make it available for everyone.