davidtran / react-google-flight-datepicker

React date picker inspired by Google Flight
MIT License
385 stars 47 forks source link

Issue - Not compatible with React versions 17 and above #67

Open Mat-dm opened 1 year ago

Mat-dm commented 1 year ago

Hello,

After several attempts, I discovered that react-google-flight-datepicker is not compatible with React versions 17 and above. This following issue appear while selecting a date on mobile view:

ERROR Cannot read properties of null (reading 'current') TypeError: Cannot read properties of null (reading 'current') at HTMLDivElement. (http://localhost:3000/static/js/bundle.js:217109:21)

SCREENSHOT image


Let me know if I can provide any information. Thanks for your help

tidundun commented 8 months ago

@Mat-dm I've got the same issue here. Did it work for you on lower versions?

MriV13 commented 5 months ago

I have this issue as well, any chance to fix it soon?

Mat-dm commented 5 months ago

Yes, you have to go back to a previous version, it will work

Le lun. 22 avr. 2024 à 16:05, Stefan Wisełka @.***> a écrit :

I have this issue as well, any chance to fix it soon?

— Reply to this email directly, view it on GitHub https://github.com/davidtran/react-google-flight-datepicker/issues/67#issuecomment-2069571147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVAH4M2JVATUMMRT4LVCBJDY6UKLDAVCNFSM6AAAAAA4CB465KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGU3TCMJUG4 . You are receiving this because you were mentioned.Message ID: @.***>

MriV13 commented 5 months ago

@Mat-dm Thanks which version are you using?

Mat-dm commented 5 months ago

I think it's 15

Le lun. 22 avr. 2024 à 16:41, Stefan Wisełka @.***> a écrit :

@Mat-dm https://github.com/Mat-dm Thanks which version are you using?

— Reply to this email directly, view it on GitHub https://github.com/davidtran/react-google-flight-datepicker/issues/67#issuecomment-2069707547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVAH4MZRYB24RNKYWNHAISLY6UOQJAVCNFSM6AAAAAA4CB465KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZG4YDONJUG4 . You are receiving this because you were mentioned.Message ID: @.***>