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

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

Open
1 task done
honey-system opened this issue Mar 18, 2020 · 0 comments
Open
1 task done

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

honey-system opened this issue Mar 18, 2020 · 0 comments

Comments

@honey-system
Copy link

honey-system commented Mar 18, 2020

[ ] 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
@honey-system honey-system changed the title The titlt is not saved in the history The title is not saved in the history Mar 18, 2020
@honey-system honey-system changed the title The title is not saved in the history The title does not display correctly in the browser history Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant