We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9eb972 commit 021c3bdCopy full SHA for 021c3bd
src/lib/index.jsx
@@ -214,7 +214,7 @@ class OtpInput extends Component<Props, State> {
214
} else if (e.keyCode === RIGHT_ARROW || e.key === 'ArrowRight') {
215
e.preventDefault();
216
this.focusNextInput();
217
- } else if (e.keyCode === SPACEBAR || e.key === 'Space' || e.key === ' ' || e.key === 'Spacebar') {
+ } else if (e.keyCode === SPACEBAR || e.key === ' ' || e.key === 'Spacebar') {
218
219
}
220
};
0 commit comments