Skip to content

Handle native back button. #1

@trungdq88

Description

@trungdq88

There is hardware back button on Android which will mess the browser history up when navigate between pages. There are several options to fix this:

  • Redesign the app so that there is no "soft back button", we can use breadcrumbs to navigate between pages instead.
  • Handle the "soft back button" dynamically, ex: if there is an item in history, we call history.back() instead of pushing new history into the stack.
  • Figure out how to override the native back button so it will behave like the "soft" button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions