keyboardEnabled property doens't work
gabrielmicko opened this issue · comments
I tired to not add "keyboardEnabled" property to not listen for keyboard events, but it doesn't help. CTRL + J still replays the actions.
SlideMonitor.js
constructor(props) {
super(props);
if (typeof window !== 'undefined') {
window.addEventListener('keydown', this.handleKeyPress);
}
Needs a condition If there is a prop "keyboardEnabled", add the listener.