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

Fix notifications page state issue #1153

Merged

Conversation

micahmo
Copy link
Member

@micahmo micahmo commented Feb 28, 2024

Pull Request Description

This PR is the culmination of a lot of effort to fix an issue that's been really bugging me lately. See #1109 for the full history.

Long story short, I was finally able to reproduce this issue consistently! None of my previous attempts to fix were related to the problem. In fact, the problem only occurred when using the Android back button, which is probably why I happened to see it on my physical device but not the emulator, where it's a bit clunky to use the gesture. It also turns out to be the exact same problem as #1149. I still can't explain why using the gesture causes the SwipeablePageRoute to completely rebuild, but at least I know how to fix it now.

This PR will supersede #1109, which can probably be closed now.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Before

notif-state-before.mp4

After

notif-state-after.mp4

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@hjiangsu hjiangsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! LGTM 😄

@hjiangsu hjiangsu merged commit c66b49f into thunder-app:develop Feb 29, 2024
1 check passed
@micahmo micahmo deleted the fix/notifications-page-state-2 branch February 29, 2024 02:09
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

Successfully merging this pull request may close these issues.

2 participants