DEV Community

Cover image for UX: Back button done wrong
Lui Yong Sheng
Lui Yong Sheng

Posted on • Originally published at luiyongsheng.Medium

UX: Back button done wrong

TLDR: Unexpected flow caused by window.history.back() and also a proposed solution using InertiaJS (Vue).

Have you ever experienced a weird navigation logic when you press the back button, instead of going back to the home page of the website, the browser navigates back to the previous website your browser tab visited?

Read More at https://luiyongsheng.medium.com/ux-back-button-done-wrong-e7da351c9801

Top comments (0)