Framework7-Vue Error when use pushState and pushStateOnLoad with back link

I have an app use Framewor7-vue, version

"framework7": "^5.5.1",
"framework7-vue": "^4.5.2",

I use pushState for web-app and develop feature share link through fb, instagram
and my config view parameters in app.vue file

view: {
     pushState: true,
     pushStateSeparator: '#',
     pushStateOnLoad: true
}

I have 3 routes like : home > category > detail page like

// home
http://localhost:8081/

// category
http://localhost:8081/#/category/gym/
http://localhost:8081/#/category/yoga/ 
...


// detail page
http://localhost:8081/#/detail-news/943/
http://localhost:8081/#/detail-news/1000/

When pushStateOnLoad: true, I can direct go link http://localhost:8081/#/detail-news/1000/ and use this link for share and people can go direct link
But when I go from home > category > detail page, and press back link, i can’t go home like detail page > category > home, it has stuck in category

while pushStateOnLoad: false I can go from home > category > detail page and back detail page > category > home but can’t go direct detail page from link http://localhost:8081/#/detail-news/1000/ because it always open home page instead detail page

How can I use both direct link and back link work in this case ?