abhiomkar / portfolio-js

Tiny JavaScript carousel library with horizontal scrolling and all the goodness.
https://portfoliojs.com
80 stars 30 forks source link

Keyboard letter "k" not working in forms throughout website. #30

Closed dsmfreelancer closed 10 years ago

dsmfreelancer commented 10 years ago

This line of code:

case 75:case 37:r.navigation.hide(),r.prev(),t.preventDefault();

... particularly "case 75", was preventing the letter "k" from being used in my email contact form fields. I commented it out and all seems to be working fine now.

What is this line of code for? And how can I properly fix it?

Thanks, Dave

abhiomkar commented 10 years ago

Hi Dave, Please set enableKeyboardNavigation option to false for now. j and k keys are set to navigate to left and right in the gallery, disabling the keyboard navigation for the gallery should fix this.