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 URL Not Updating Correctly After Navigation on PrimeNG Documentation Site #16257

Open
erfanfarhadi75 opened this issue Aug 19, 2024 · 4 comments
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team

Comments

@erfanfarhadi75
Copy link

Describe the bug

The browser's URL should update to https://primeng.org/menubar when navigating to the Menubar component and revert to https://primeng.org/tabmenu when going back

Environment

  • Browser: Chrome 127
  • OS: Windows 11 Enterprise

Reproducer

No response

Angular version

None

PrimeNG version

None

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

None

Browser(s)

No response

Steps to reproduce the behavior

  1. Navigate to TabMenu.
  2. Click on any of the items to navigate to Menubar.
  3. Use the browser's back button to go back to the previous page.

Expected behavior

  • The browser's URL should update to https://primeng.org/menubar when navigating to the Menubar component and revert to https://primeng.org/tabmenu when going back.
@erfanfarhadi75 erfanfarhadi75 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 19, 2024
@can-oezkan
Copy link
Contributor

I could not reproduce this bug on the current primeng v17 site.

@mertsincan mertsincan added Resolution: Cannot Replicate Issue could not be replicated by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

We're unable to replicate your issue. Could you please try it with the latest PrimeNG version? If the problem continues, could you create a reproducer using PrimeNG Issue Template or provide additional details by editing this issue? This issue will be closed if no activities in 20 days.

@can-oezkan
Copy link
Contributor

I can reproduce this bug now on v17 and v18.

Reproduce:

  1. Click on any component on the sidebar (https://primeng.org/autocomplete)
  2. Click on any other component on the sidebar (https://primeng.org/cascadeselect)
  3. The browser back button does not navigate back. Only after clicking it multiple times.

Before navigating to next component
image

After navigating to next component
image

@erfanfarhadi75
Copy link
Author

Thank you, @can-oezkan , for taking the time to recheck and confirm the issue. I appreciate your efforts and attention to detail. If there's anything further I can do to help troubleshoot or provide additional information, please let me know. Thanks again! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team
Projects
None yet
Development

No branches or pull requests

3 participants