react-modern-calendar-datepicker icon indicating copy to clipboard operation
react-modern-calendar-datepicker copied to clipboard

TypeError: Cannot read property 'removeEventListener' of null

Open darrylsepeda opened this issue 3 years ago • 7 comments

Describe the bug A clear and concise description of what the bug is. I used a drawer to insert new data, and the data consists of a date range. Once I successfully saved the data, I need to close the drawer, but then the error shows up. I think its related with the library, need to check whether the listener has been removed or not. image

Reproduced Version on CodeSandbox I will provide one when I have time to put it on sandbox

Expected behavior A clear and concise description of what you expected to happen. After I saved the data, I close the drawer and everything should works fine.

darrylsepeda avatar Dec 06 '20 13:12 darrylsepeda

same issue here on react ver.17

Wony56 avatar Dec 07 '20 00:12 Wony56

did you find any solution for this? Same problem here

monire91 avatar Dec 09 '20 11:12 monire91

I have the same issue when loading the page. Any solutions?

bragayuri avatar Dec 23 '20 13:12 bragayuri

Duplicate of #204

mojabyte avatar Jan 10 '21 18:01 mojabyte

Uncaught TypeError: Cannot read property 'removeEventListener' of null this error is pointing [ react-modern-calendar-datepicker ] Screenshot from 2021-04-19 23-25-37

please help me

naresh0101 avatar Apr 19 '21 17:04 naresh0101

This link was helpful for me https://github.com/Kiarash-Z/react-modern-calendar-datepicker/issues/204

naresh0101 avatar Apr 19 '21 18:04 naresh0101

current?.removeEventListener try this question mark it will remove the error

GayathriGanesha avatar Jul 06 '23 06:07 GayathriGanesha