react-datetime-picker
react-datetime-picker copied to clipboard
Uncaught TypeError: Cannot read property 'clientHeight' of null
There is a fatal error causing pages to crash when the picker is clicked: Uncaught TypeError: Cannot read property 'clientHeight' of null
I think it perhaps is related to the difficulty with sizing?
Originally posted by @Phamiliarize in https://github.com/wojtekmaj/react-datetime-picker/issues/40#issuecomment-440114332
@Phamiliarize try v2.1.1
, there were a couple of fixes regarding that error in v2.1.x branch.
I apologize, actually I clicked the wrong repository. I am using react-datetimerange-picker...
I assume though that it is more or less the same, and bugs relating to sizing in that component would be fixed out of 2.1.1 branch.
Interestingly enough without updating anything code wise, after a few of us upgraded to Chrome 70, the issues disappeared.
Yeah, it was a race condition that may or may not have occurred. It is fixed anyway ;) React-DateTimeRange-Picker will be released soon, after the next bugfix release of React-DateTime-Picker, to have everything aligned.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity.