Created
June 28, 2017 19:33
-
-
Save bummzack/a586533607ece482475e0c211790dd50 to your computer and use it in GitHub Desktop.
A replacement component for the react-router `Prompt`.
@akrigline, we have (a little) more info on your issue here
tl;dr: we still don't know what causes it, but it happens with some setups but not others. @cumibulat was able to reproduce when using react-boilerplate but did not reproduce when not using react-boilerplate
FYI to readers, I've published an adaptation of this to npm: https://www.npmjs.com/package/react-router-navigation-prompt
Could You please share any live example of that?
What's wrong with the original Prompt?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use my browser's Back button, the modal pops up for a split second and then immediately disappears. Is this something history.block can't handle well?