Single page PWA - Back-Button

102 views
Skip to first unread message

Michaela Merz

unread,
May 5, 2025, 2:09:44 PM5/5/25
to Chromium-discuss
Hello -

I don't know if there's a viable solution, but the back button functionality in single-page PWAs is awful. Consider this case:

Home -> Stocks - German Stocks -> Car Companies -> BMW

The user looks at the page and back-buttons to "Car Companies", than immediately to "German Stocks". While the first "back" swipe works fine, the second terminates the app. If the user would have waited for a moment or interact with the page "Car Companies", the back swipe would have worked and the user would have been back to "German Stocks".

However - successive quick back swipes simply terminate the PWA. Is that the intended behavior? 

And yes, I played around with the history API but can't find a solution.

m.





Reply all
Reply to author
Forward
0 new messages