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

Preserve "SourceMangas" location state #354

Merged
merged 1 commit into from
Jun 8, 2023
Merged

Preserve "SourceMangas" location state #354

merged 1 commit into from
Jun 8, 2023

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented Jun 8, 2023

Due to setting the "defaultBackTo" url the back button was a Link instead of a normal Button. The Link causes the page to get opened like it's the first time and to get put on top of the browsers history stack. Instead of actually going back in the history. Thus, the previous location state of the "SourceMangas" page was lost and the content type (browse, latest, filter) couldn't be reopened.

Due to setting the "defaultBackTo" url the back button was a Link instead of a normal Button.
The Link causes the page to get opened like it's the first time and to get put on top of the browsers history stack. Instead of actually going back in the history.
Thus, the previous location state of the "SourceMangas" page was lost and the content type (browse, latest, filter) couldn't be reopened.
@schroda schroda merged commit cce6ec0 into Suwayomi:master Jun 8, 2023
@schroda schroda deleted the fix/manga_page_white_screen_after_going_back_to_manga_sources_via_navbar_button branch June 8, 2023 11:40
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.

1 participant