Skip to content

The title does not display correctly in the browser history #206

@honey-system

Description

@honey-system

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Support request
[ ] Feature request
[ ] Documentation issue or request

When switching between routers, the title is reset to the default one, and the title set in the settings is saved in the browser history.
Need to save in history the title set programmatically, via this.meta.setTitle('Custom page name').

For example: after route change title appears in history like "default title | Aplication Name", but should "Custom page name | Aplication Name"
...
applicationName: 'Aplication Name',
defaults: {
title: 'default title',
description: 'Default description',
...
}
...

Environment

  • Angular version: 9.0.0
    tested on "@ngx-meta/core": "8.0.2" and "@ngx-meta/core": "7.0.0"

  • Browser:

  • Chrome (desktop) version 80.0.3987.132

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