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 UI freeze when opening same path #6168

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

viown
Copy link
Member

@viown viown commented Oct 6, 2024

When clicking on a link that leads to the same path (such as for example the same episode under the 'More from' section in the details page), the UI will freeze because it's waiting on a promise that will never resolve. Regression from #6024

Changes
Listen for path changes and call this.onViewShow() if the path did not change.

Issues

@viown viown requested a review from a team as a code owner October 6, 2024 13:14
@thornbill thornbill added the bug Something isn't working label Oct 8, 2024
src/index.jsx Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Oct 9, 2024

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit fb2d4487f3bf64e62e9a0b0ccfda886e1eb2d878
Status ✅ Deployed!
Preview URL https://089159ce.jellyfin-web.pages.dev
Type 🔀 Preview

@thornbill thornbill added this to the v10.10.0 milestone Oct 9, 2024
@thornbill thornbill added the regression We broke something label Oct 9, 2024
@thornbill thornbill merged commit 38d095b into jellyfin:master Oct 9, 2024
12 checks passed
@viown viown deleted the fix-ui-freeze branch October 11, 2024 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression We broke something
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants