react-datetime-picker icon indicating copy to clipboard operation
react-datetime-picker copied to clipboard

Uncaught TypeError: Cannot read property 'clientHeight' of null

Open wojtekmaj opened this issue 5 years ago • 3 comments

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

wojtekmaj avatar Nov 22 '18 08:11 wojtekmaj

@Phamiliarize try v2.1.1, there were a couple of fixes regarding that error in v2.1.x branch.

wojtekmaj avatar Nov 22 '18 08:11 wojtekmaj

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.

Phamiliarize avatar Nov 22 '18 17:11 Phamiliarize

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.

wojtekmaj avatar Nov 23 '18 12:11 wojtekmaj

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.

github-actions[bot] avatar Feb 13 '23 01:02 github-actions[bot]

This issue was closed because it has been stalled for 14 days with no activity.

github-actions[bot] avatar Feb 27 '23 01:02 github-actions[bot]