Skip to content

Custom directive's unmounted event is not triggered on v-for element #12569

Closed

Description

Activity

  1. changed the title [-]Custom directive's umounted event is not triggered on v-for element[/-] [+]Custom directive's unmounted event is not triggered on v-for element[/+] on Dec 17, 2024
  2. added
    🔨 p3-minor-bug
    on Dec 18, 2024
  3. edison1105 commented on Dec 19, 2024

    @edison1105
    Member

    similar to #9239

    The root cause is the missing NEED_PATCH. Elements are marked as NEED_PATCH when using custom directives individually, but when wrapped in v-for, NEED_PATCH is lost. will be fixed in #11682

    For more similar issues, refer to #11682 (comment)

  4. added a commit that references this issue on Aug 5, 2026
    02421cd
  5. locked and limited conversation to collaborators on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions