@playkit-js/transcript 3.7.16-canary.0-1cfefa2 → 3.7.16-canary.0-8162ec4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -421,16 +421,7 @@ export class Transcript extends Component<TranscriptProps, TranscriptState> {
|
|
|
421
421
|
|
|
422
422
|
private _handleClick = (event: MouseEvent | KeyboardEvent) => {
|
|
423
423
|
event.preventDefault();
|
|
424
|
-
|
|
425
|
-
if (!this.state.isAutoScrollEnabled) {
|
|
426
|
-
this._autoscrollButtonRef?.focus();
|
|
427
|
-
return;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
this.setState(
|
|
431
|
-
{isAutoScrollEnabled: false},
|
|
432
|
-
() => this._autoscrollButtonRef?.focus()
|
|
433
|
-
);
|
|
424
|
+
this._autoscrollButtonRef?.focus();
|
|
434
425
|
};
|
|
435
426
|
|
|
436
427
|
private _handleKeyDown = (event: KeyboardEvent) => {
|