Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser navigation does not support going back from entity popup (mobile) #23709

Open
LinqLover opened this issue Jan 12, 2025 · 0 comments
Open

Comments

@LinqLover
Copy link

Steps to reproduce (on mobile):

  1. Open an entity (from a dashboard or from Settings > Devices and services > Entities
  2. Choose Device Info from the ellipsis menu
  3. Navigate back (using browser button/touch gesture) to Device Info (works)
  4. Navigate back again

Expected: see previous dashboard/list of entities again

Actual: HomeAssistant page is closed (or in case of the app: app quits)


Proposed solution (as an outsider of the project): Append a fragment to the URL when opening the pop-up (at least on mobile) so that navigation remembers the previous page (like history.pushState()). Not sure what behavior is desired on the desktop. But on mobile, the pop-up cannot be seen as such, and the fact that the back arrow at the left top does something different than the browser's back button/touch gesture is pretty confusing.

Originally posted in home-assistant/android#4956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant