-
Notifications
You must be signed in to change notification settings - Fork 893
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
Error TypeError: Cannot read property '_targets' of null when updating list of map markers #831
Comments
Please provide a simple way to reproduce the issue using the provided CodePen |
I have same problem. |
@PaulLeCam any updates on this one? prevents me from updating to v3 |
Should be fixed in v3.2, please try it out! |
My example works now, thanks! |
I've tried to upgrade react-leaflet to version 3.2.0 to solve this issue, but now I'm getting this error: ./node_modules/@react-leaflet/core/esm/path.js 10:41 I read some notes about edit browerlist in package.json here but didn't succeed. Any comments will be helpful. I found a way to fix it by enabling webpack 5 as indicated by this answer: #883 (comment) |
Bug report
Before opening an issue, make sure to read the contributing guide and understand this is a bug tracker, not a support platform.
Please make sure to check the following boxes before submitting an issue.
Issues opened without using this template will be closed unless they have a good reason not to follow this template.
Expected behavior
it shouldn't throw error.
Actual behavior
I have a list of markers all of which have permanent tooltips. When I update the list of markers I get the following error:
Error TypeError: Cannot read property '_targets' of null
Steps to reproduce
Above is the code for my mapcontainer. markers seem to update just fine but it throws the error too.
thanks .
The text was updated successfully, but these errors were encountered: