Skip to content
This repository was archived by the owner on Jan 3, 2021. It is now read-only.
This repository was archived by the owner on Jan 3, 2021. It is now read-only.

Meta Info not Updated for Keep Alive components #12

@po-trottier

Description

@po-trottier

When a component is wrapped in a keep-alive tag () the Meta Info for the page is not updated after the initial load, as the created hook is not being called.

Repro steps:

  1. Create a vue app with a Vue Router
  2. Create 2 routes
  3. Make 1 of these routes keep-alive
  4. Set a different Meta Title for each route
  5. Start the app
  6. Navigate to the Keep-Alive page. The title will be OK
  7. Navigate to the regular page. The title will be OK
  8. Go back to the Keep-Alive page. The title will NOT BE OK.

The title should be updated on focus/beforeEachRoute, not on created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions