aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-06-21 14:03:49 -0400
committermehekj <mehek.jethani@gmail.com>2022-06-21 14:03:49 -0400
commitc0bdb958920f1f0f68a35c70d5b4ad1bf5ea5824 (patch)
tree14e1f6949350a1a5480fd02427ec94b4d7fcfd9e
parent2852e29c73ccfe86e81f63258a843cc614b9e62e (diff)
same fix as previous
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index 372629ddf..77ed83278 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -183,7 +183,8 @@ export class CollectionStackedTimeline extends CollectionSubView<CollectionStack
@action
keyEvents = (e: KeyboardEvent) => {
if (
- !(e.target instanceof HTMLInputElement) &&
+ // need to include range inputs because after dragging video time slider it becomes target element
+ !(e.target instanceof HTMLInputElement && !(e.target.type === "range")) &&
this.props.isSelected(true)
) {
// if shift pressed scrub 1 second otherwise 1/10th