fix(web): reset cursor style when slideshow bar unmounts (#27521)

This commit is contained in:
Min Idzelis 2026-04-06 08:07:49 -04:00 committed by GitHub
parent 9bcce59719
commit 564065a3ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -276,7 +276,6 @@
const handleStopSlideshow = async () => {
try {
if (document.fullscreenElement) {
document.body.style.cursor = '';
await document.exitFullscreen();
}
} catch (error) {

View file

@ -85,6 +85,7 @@
});
onDestroy(() => {
setCursorStyle('');
if (unsubscribeRestart) {
unsubscribeRestart();
}