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

clear private HOOK_ID as soon as hook is destroyed #3500

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Commits on Nov 11, 2024

  1. clear private HOOK_ID as soon as hook is destroyed

    Fixes #3496.
    
    When navigating from a sticky LiveView to another page that contains
    a hook on an element with the same id, morphdom would merge the old
    element into the new one and still find the old HOOK_ID in the element's
    DOM.private data, leading to the new hook not initializing properly.
    SteffenDE committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    76d405b View commit details
    Browse the repository at this point in the history