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

Changes the timelimit between spacebar and last keypress #1570

Merged
merged 1 commit into from Jun 19, 2021

Conversation

shashank1207
Copy link
Contributor

Related to the issue #1553. Changed the allowed timelimit between spacebar and last keypress from 500ms to 3000ms.

@shashank1207 shashank1207 requested a review from a team as a code owner June 10, 2021 17:34
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Thanks @shashank1207, I've checked it out locally and this works nicely. This this is a global change (i.e. not just one doc) I'll wait for one more review, just in case I'm missing something obvious.

@MasterEnoc
Copy link
Contributor

I think it would be better to add an option in the options page of devdocs to change individually the keypress timeout for the spacebar or change the current shortcut of the spacebar, but it could take some time. Meanwhile, we can merge this PR and see if other people think three seconds are too much for wait or not.

@shashank1207
Copy link
Contributor Author

@MasterEnoc I am working on it. I will create pull request as soon as it completes.

@shashank1207 shashank1207 mentioned this pull request Jun 14, 2021
@MasterEnoc MasterEnoc merged commit 3d5ff7d into freeCodeCamp:main Jun 19, 2021
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.

None yet

3 participants