diff --git a/ui/v2.5/src/components/Changelog/versions/v0161.md b/ui/v2.5/src/components/Changelog/versions/v0161.md index 125be7f3f..a29c793b2 100644 --- a/ui/v2.5/src/components/Changelog/versions/v0161.md +++ b/ui/v2.5/src/components/Changelog/versions/v0161.md @@ -1,4 +1,5 @@ ### 🐛 Bug fixes +* Fix scene player losing focus when playing next/previous scene. ([#2758](https://github.com/stashapp/stash/pull/2758)) * Fix UI crash when % character used in tag names. ([#2757](https://github.com/stashapp/stash/pull/2757)) * Fix keyboard shortcuts not working after selecting an object. ([#2750](https://github.com/stashapp/stash/pull/2750)) * Fix UI crash on session timeout. ([#2755](https://github.com/stashapp/stash/pull/2755)) diff --git a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx index 4fc189b9c..4e4dd2a22 100644 --- a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx +++ b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx @@ -558,6 +558,7 @@ export const ScenePlayer: React.FC = ({ interactiveClient.setLooping(looping); player.load(); + player.focus(); if ((player as any).vttThumbnails?.src) (player as any).vttThumbnails?.src(scene?.paths.vtt);