1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Handle pressing Enter to finish keyboard dragging of slider

(cherry picked from commit 9024ebea39)
This commit is contained in:
Dmitry Lyzo 2023-09-26 23:41:31 +03:00
parent 1e1af1c67f
commit 3c80bf7b19

View file

@ -408,6 +408,13 @@ import '../emby-input/emby-input';
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
break; break;
case 'Enter':
if (this.keyboardDragging) {
finishKeyboardDragging(this);
e.preventDefault();
e.stopPropagation();
}
break;
} }
} }