Skip to content

handler_element undefined #16043

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

Open
tvthatsme opened this issue May 30, 2025 · 0 comments
Open

handler_element undefined #16043

tvthatsme opened this issue May 30, 2025 · 0 comments
Labels
awaiting submitter needs a reproduction, or clarification

Comments

@tvthatsme
Copy link

tvthatsme commented May 30, 2025

Describe the bug

Seeing error logs for Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') because it looks like handle_event_propagation is being called while the handler_element is undefined.

The code in question is here https://github.com/sveltejs/svelte/blob/main/packages/svelte/src/internal/client/dom/elements/events.js#L151

This is somehow connected to the user having the jam.dev Chrome extension enabled but I am not sure how the two are intersecting.

Image

Reproduction

So far not able to catch this in a REPL.

Logs

Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at handle_event_propagation (events.js:144:61)
    at HTMLDocument.e (host-additional-hooks.js:2:114630)

System Info

System:
    OS: macOS 15.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 132.94 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.7.0 - /opt/homebrew/bin/node
    npm: 11.2.0 - /opt/homebrew/bin/npm
    pnpm: 10.11.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 136.0.7103.114
    Safari: 18.5
  npmPackages:
    svelte: ^5.33.7 => 5.32.1

Severity

annoyance

@Conduitry Conduitry added the awaiting submitter needs a reproduction, or clarification label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting submitter needs a reproduction, or clarification
Projects
None yet
Development

No branches or pull requests

2 participants