From 2e131c2a95bf4166fd9692ae2f344eddfd576632 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 4 Sep 2023 02:37:19 -0400 Subject: [PATCH] Stop spacebar in chapters box from pausing video --- src/components/SponsorTimeEditComponent.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 4f0f656d..15f265ee 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -138,6 +138,8 @@ class SponsorTimeEditComponent extends React.Component e.stopPropagation()} + onKeyUp={(e) => e.stopPropagation()} onChange={(e) => this.handleOnChange(0, e, sponsorTime, e.target.value)} onWheel={(e) => this.changeTimesWhenScrolling(0, e, sponsorTime)}>