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

Uncaught TypeError: Cannot read properties of null (reading 'off') #112

Open
jacobtylerwalls opened this issue Oct 7, 2022 · 0 comments
Labels
bug Something isn't working Task 3.6 Front-end implementation

Comments

@jacobtylerwalls
Copy link
Contributor

jacobtylerwalls commented Oct 7, 2022

    > I'm noticing that navigating back to the submissions page after adding a reference image isn't working. This seems unrelated to your changes though (and would probably happen in dev if there were a link to test it with).

Good spot. I can reproduce on develop by clicking back button from draw page back to welcome (after having uploaded a ref image). I'll open an issue. Sourced it to 1d43bbe.

Originally posted by @jacobtylerwalls in #109 (comment)

Issue emanating from the useMapLayer hook, but possibly deeper in react-leaflet?


EditHandle.js:59 Uncaught TypeError: Cannot read properties of null (reading 'off')
    at NewClass._unbindListeners (EditHandle.js:59:1)
    at NewClass.onRemove (EditHandle.js:29:1)
    at NewClass.removeLayer (Layer.js:185:1)
    at NewClass.removeFrom (Layer.js:70:1)
    at NewClass.remove (Layer.js:59:1)
    at NewClass.remove (Map.js:786:1)
    at MapContainer.js:44:1
    at safelyCallDestroy (react-dom.development.js:22932:1)
    at commitHookEffectListUnmount (react-dom.development.js:23100:1)
    at commitPassiveUnmountInsideDeletedTreeOnFiber (react-dom.development.js:25098:1)
@rajadain rajadain added bug Something isn't working Task 3.6 Front-end implementation labels Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Task 3.6 Front-end implementation
Projects
None yet
Development

No branches or pull requests

2 participants