jellyfin-web
jellyfin-web copied to clipboard
Backdrops not cleaned up
Describe The Bug
Backdrop image containers are retained when rotating to the next image, even though only one is displayed at a time.
The old/unused div
s are (apparently) not re-used.
This causes performance hiccups when waiting on the home page for a while, especially when having the tab open a for while in the background and then returning.
Steps To Reproduce
- Go to User Preferences
- Click on Display
- Scroll down to Backdrops
- Make sure backdrops are enabled
- Return to home screen
- Wait a few rotations of the backdrop images
- See in
body > div.backdropContainer
(/html/body/div[1]
) that there are multiplediv.backdropImage
, even though only one is displayed.
Expected Behavior
Clean up unused div
s in body > div.backdropContainer
.
Logs not applicable
Screenshots
System (please complete the following information):
- Platform: Windows 10
- Browser: Brave 1.43.93 Chromium: 105.0.5195.127
- Jellyfin Version: 10.8.4
Additional Context