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

Setting a style after applying a filter can result in an error #432

Open
wiegerhofstra opened this issue Dec 19, 2017 · 0 comments
Open

Comments

@wiegerhofstra
Copy link
Collaborator

If you apply a filter to a feature, and then use styling on any of the features on that layer, you can get the following error:

TypeError: Cannot read property 'appendChild' of null
    at Object.toFront (csWeb-dep.js:379)
    at e._bringToFront (csWeb-dep.js:382)
    at e.bringToFront (csWeb-dep.js:381)
    at LeafletRenderer.updateFeature (csComp.js:35927)
    at csComp.js:21028
    at Array.forEach (<anonymous>)
    at LayerService.setStyle (csComp.js:21025)
    at LayerService.toggleStyle (csComp.js:21043)
    at fn (eval at compile (csWeb-dep.js:264), <anonymous>:4:339)
    at e (csWeb-dep.js:309)
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

1 participant