-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Reader: Back Navigation Not Working Properly #98359
Comments
@artemiomorales I've tried a bunch of different ways to reproduce this on Screen.Recording.2025-01-15.at.2.41.11.PM.movI noticed in your video that you're running Calypso locally. Is there a chance this is a bug with a development branch you were working on? |
@artemiomorales Just following up on this. I was unable to reproduce on production. Are you still seeing this issue? |
@holdercp Thanks for looking at this! Yes, I'm seeing the issue on production. Here's a screen capture: back-button-bug-v4.mp4It happens very consistently in Chrome for me, about 90% of the time. I've just tried in Firefox and it happens far less consistently, maybe 10% of the time. Perhaps there's an issue with some of the users in my feed, or an issue with my account? I notice it when I'm just casually using the Reader; it's pretty frustrating. I wonder if anyone else can reproduce it? 🤔 |
I'm able to reproduce in Chrome and it looks like the issue started back around December 30th according to logs. I've identified what's happening but not why it's happening yet. |
^ Nevermind. I discovered another issue with navigation that was introduced recently but it has slightly different behavior. I'm still unable to reproduce even when using the latest Chrome and following the steps in the video I consistently land back on Do you see any console errors? My suspicion is the router state is not being updated correctly when going to |
@holdercp I signed out, cleared my local storage and cookies, and still saw the issue. I just updated the latest version of Chrome, and still see the issue. It's actually worse now, potentially due to the recently merged profile page — the back navigation is now pretty broken in a few cases. I sometimes see a I also occasionally see a Here's a video going through some flows, showing the back button working incorrectly with and without the above errors: back-button-bug-v5.mp4 |
I also noticed another, potentially related issue and opened it today: #99166 |
The video was very helpful. It's very obvious this is an issue, I just cannot seem to reproduce it. The first issue with the "cannot read properties of undefined..." was fixed in #99123. Still working at it but even after following your steps, I can't reproduce the issue. This makes me think it's due to some difference between our env's. Do you see any errors or warnings when running locally? Maybe the error/warning is getting muted in production. There does seem to be some perceived slowness on the Likes page so maybe there's something with that specific page. Does it always occur when attempting to navigate back to |
I am not able to reproduce this either, what I am seeing is consistent with what @holdercp describes. 🤔 |
Sorry, I lost track of this with the board filtering. I'm going to move this to Unassigned since it's difficult to reproduce. Not trying to push work on you @artemiomorales but maybe you're the best person to investigate the root cause since you can reproduce reliably. |
Context and steps to reproduce
Back navigation is inconsistent throughout the Reader.
/read
and click on a recent post or author avatarExpected: Browser goes to the Likes page.
Actual: Browser goes to another page in your history.
This seems to happen whenever you click the back button or navigate back once. After that, the backwards navigation breaks.
back-button-bug-v3.mp4
Site owner impact
Less than 20% of the total website/platform users
Severity
Moderate
What other impact(s) does this issue have?
No revenue impact
If a workaround is available, please outline it here.
No response
Platform
No response
The text was updated successfully, but these errors were encountered: