Closed flesser closed 6 years ago
Is there a reason for evt.preventDefault() in the Slideshow component's keydown handler?
evt.preventDefault()
keydown
It prevents other keyboard shortcuts from working (like pressing F11 in Firefox to enter/leave fullscreen mode).
I just tested to remove that line in my local copy and have seen no negative side-effects so far.
Good point. I'll look into this further.
It seems the preventDefault is redundant and actually causing some issues (#3).
preventDefault
fixed in 0.1.5
0.1.5
Is there a reason for
evt.preventDefault()
in the Slideshow component'skeydown
handler?It prevents other keyboard shortcuts from working (like pressing F11 in Firefox to enter/leave fullscreen mode).
I just tested to remove that line in my local copy and have seen no negative side-effects so far.