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
2 changed files with 1 additions and 1 deletions
@@ -276,7 +276,6 @@
const handleStopSlideshow = async () => {
try {
if (document.fullscreenElement) {
document.body.style.cursor = '';
await document.exitFullscreen();
}
} catch (error) {
@@ -85,6 +85,7 @@
});
onDestroy(() => {
setCursorStyle('');
if (unsubscribeRestart) {
unsubscribeRestart();
}