Closed scottwarren closed 6 months ago
As a note, this app isn't using React.StrictMode
Same problem,,,
But it works even if there is no delay before the step AND React.StrictMode
exists!
@gilbarbara Do you have any ideas? May be we need to install some package?
This is fucking bullshit...
On build
it works correctly.
Why does it flicking in development mode? I wasted some hours of my life on this crap...
@Ivan-dev-RED
There's no need to be aggressive. If you don't like this library, just create your own.
@scottwarren have you found the fix?
No, although I did manage to figure out a work around, I implemented my own overlay that I control which is in sync with which step is currently showing
Hey @juniorforlife Nope, and I won't be able to work with this for the foreseeable future.
I've refactored how the Overlay is rendered to prevent any flickering. It's available in v2.8.0
Thank you very much :-)
🐛 Bug Report
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
In controlled mode, have a button outside the default tooltip that has a delay before going to the next step
Expected behavior
Overlay should not flicker
Link to repl or repo (highly encouraged)
Please provide a https://codesandbox.io/ demo or similar.
https://codesandbox.io/s/react-joyride-overlay-flickering-bug-forked-mh25rm?file=/src/App.js
Issues without a reproduction link are likely to stall.
Run
npx envinfo --system --binaries --npmPackages react-joyride
Paste the results here: