Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ADA-1774): University of Illinois Urbana-Champaign (ADA) V7 playe… #230

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

Tzipi-kaltura
Copy link
Contributor

@Tzipi-kaltura Tzipi-kaltura commented Dec 4, 2024

…r issues Priority SS (#5) Transcript - transcript panel acts as a keyboard trap for users who utilize the keyboard to interact

Adding functionality to close transcript panel with Escape key.

Solves ADA-1774

…r issues Priority SS (#5) Transcript - transcript panel acts as a keyboard trap for users who utilize the keyboard to interact
@@ -138,6 +141,7 @@ export class Transcript extends Component<TranscriptProps, TranscriptState> {
// use player size to define transcript root element size
this._setWidgetSize();
}
this.props.eventManager?.listen(document, 'keydown', this._handleKeydownEvent);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we have to add listener for entire document, Navigation plugin has similar feature
https://github.com/kaltura/playkit-js-navigation/blob/master/src/components/navigation/index.tsx#L293

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Tzipi-kaltura Tzipi-kaltura merged commit 803447e into master Dec 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants