Skip to content

Transition animation doesn`t work if url was changed (nuxt) #56

@ktulxu

Description

@ktulxu

There are '/', '/arts', '/arts/:year' routes and different Header, MainPageHeader components with shared elements. On the page '/' i use MainPageHeader. On other pages i use Header.
Firstly, i had an issue with hash in url. For example, if i go from '/' to '/arts#d' and try to go back to '/' transition animation doesn`t work. But if i go to '/arts' and then back the animation works fine.
Also i have the same issue when i go to '/arts' then to '/arts/:year' and then back to '/'. If i reload '/arts/:year' page and then go to '/' animation works fine.
What could be the problem?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions