Alister Norris
Alister Norris
Any update on this?
@kctang I'm unable to find a proper solution to this, as there is no API available to tell if a user cancels
@icfantv Please make a PR! 🙏🏻 I will review and if it works I will definitely merge
@petha Although there's no specific JS events for recognising this, I think I could find a way. Which would you prefer a promise fail or empty list?
We could attach a focus event on the window, so when you cancel, the window comes back into focus, and use boolean variable to check if the focus event that...
@petha You have a good point, the only solution I found was you use setTimeOut for a second, and then see if the input field had contents in it, it...
If anyone has a good solution to the problem, rather than the hacky setTimeout please let me know, or better yet make a PR. Thanks
I'm getting this when ever I try both the environmental vars and the axios proxy. Any ideas? ``` Error: socket hang up at connResetException (internal/errors.js:610:14) at Socket.socketOnEnd (_http_client.js:453:23) at Socket.emit...
This works for me. ```jsx import { useRendersCount, useLocalStorage } from 'react-use' const defaultValue = 'default' const ShowValue = () => { const [value, setValue] = useLocalStorage('value', defaultValue) const isFirst...
Would it be possible to monkey patch this? Similar to how node inspector does it?