We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since 8.0.4 I can't build my application because of the following error:
ReferenceError: navigator is not defined at Object. (node_modules\react-date-picker\dist\DateInput\Input.js:25:20)
This broke in commit 7c6af9d.
I see two solutions:
navigator.userAgent...
typeof navigator !== 'undefined' &&
navigator.userAgent.match(/ Edge\/1/)
if
The text was updated successfully, but these errors were encountered:
Thanks for reporting.
Ad 1 - actually window can be undefined in some envs as well. I think the best approach would be:
const isEdgeLegacy = ( typeof window !== 'undefined' && 'navigator' in window && navigator.userAgent.match(/ Edge\/1/) );
Sorry, something went wrong.
c3397b7
v8.0.5 released. Thanks again
Fix crash during server side rendering
c81ba5c
Closes #323
wojtekmaj
No branches or pull requests
Since 8.0.4 I can't build my application because of the following error:
This broke in commit 7c6af9d.
I see two solutions:
navigator.userAgent...
withtypeof navigator !== 'undefined' &&
.navigator.userAgent.match(/ Edge\/1/)
to theif
statement in onFocus().The text was updated successfully, but these errors were encountered: