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

+/- 10s audio seek with Arrow Keys #588

Merged
merged 3 commits into from
Jul 27, 2021
Merged

Conversation

jvegaf
Copy link
Contributor

@jvegaf jvegaf commented Jun 14, 2021

Based on #575

Seek +/- 10 sec with Arrow Keys

Signed-off-by: Jose Vega <josevega234@gmail.com>
@martpie
Copy link
Owner

martpie commented Jul 27, 2021

@jvegaf thank you for the PR, sorry for the big delay for the review.

Overall, it looks good, but I think you should add a safeguard for when we are typing in an input or something:

Something like there: https://github.com/martpie/react-keybinding-component/blob/6688095b81dfe16c29798cc00e82ed28942e0a02/src/keybinding.tsx#L50

So maybe you can make use of the <Keybinding /> component instead and pass it preventInputConflict :)

@martpie
Copy link
Owner

martpie commented Jul 27, 2021

Oh my bad, it's already the case, let's go then!

@martpie martpie merged commit 3e01ee7 into martpie:master Jul 27, 2021
@jvegaf jvegaf deleted the arrows-seek branch November 11, 2021 23:53
martpie added a commit that referenced this pull request May 25, 2022
+/- 10s audio seek with Arrow Keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants