Skip to content
New issue

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

Cannot read properties of null (reading 'removeEventListener') #1005

Open
si-rg-frontend opened this issue Nov 1, 2023 · 1 comment
Open

Comments

@si-rg-frontend
Copy link

si-rg-frontend commented Nov 1, 2023

Hello I am trying to use ol-ext with react. I have two map objects in one component in which there is a useEffect inside which I am adding synchronize interactions for those maps which is working fine but when I come back to that component it says that it can't read properties of null while reading removeEventListener inside synchronize.js file. I am removing these interactions in useEffect's clean-up function.

@Viglino
Copy link
Owner

Viglino commented Nov 6, 2023

no idea, sorry...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants