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

Navigation Issue on Privacy Policy Page When Bottom Back Button is Clicked First #9732

Open
paulpascal opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
Type: Bug Fix something that isn't working as intended

Comments

@paulpascal
Copy link

Describe the bug
When accessing the Privacy Policy page from the login page, clicking the bottom back button causes a navigation issue. When the user reaches the bottom of the page and clicks the bottom back button first, the page scrolls to the top. Then, clicking the top back button returns the user to the bottom, and vice versa. On a browser, the user needs to click the browser back button to return to the login page. On the mobile app, this behavior persists even after closing and reopening the app; clearing the cache temporarily resolves the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Open the app (having privacy policy set up) without logging in.
  2. Navigate to the Privacy Policy page from the login screen
  3. Scroll down and click the bottom back button
  4. Observe the behavior: The page scrolls to the top, but clicking the top back button returns the user to the bottom

Expected behavior
Clicking either back button should consistently return the user to the previous page (login page), regardless of which button is clicked first.

Screenshots
https://github.com/user-attachments/assets/0d486fa3-33c0-42fc-a7d4-f372339982d8
https://github.com/user-attachments/assets/3114cec8-9765-495c-a2d6-141be55f6726

Environment

  • App: webapp
  • Version: all

Additional context
This issue occurs only if the bottom back button is clicked first. If the top back button is clicked first, the issue does not occur.

@paulpascal paulpascal added the Type: Bug Fix something that isn't working as intended label Jan 8, 2025
paulpascal added a commit to paulpascal/cht-core that referenced this issue Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix something that isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant