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

navigation key initial position doesn't work unless alwaysOpen is true #557

Closed
stevenrobday opened this issue Apr 28, 2017 · 2 comments
Closed

Comments

@stevenrobday
Copy link

stevenrobday commented Apr 28, 2017

with alwaysOpen set to false, when the keyboard becomes visible it does not highlight the key set in navigation position...

    $('#keyboard')
        .keyboard({
        alwaysOpen: false,
        position: {
        of: $(window), // null = attach to input/textarea; use $(sel) to attach elsewhere
        my: 'center bottom',
        at: 'center bottom',
        at2: 'center bottom' // used when "usePreview" is false
   	 }
    })
        .addNavigation({
        position: [2, 0], // set start position [row-number, key-index]
        toggleMode: true, // true = navigate the virtual keyboard, false = navigate in input/textarea
        focusClass: 'hasFocus' // css class added when toggle mode is on
    });
@Mottie
Copy link
Owner

Mottie commented Apr 28, 2017

Hi @stevenrobday!

Thanks for reporting this problem! I'll have it fixed shortly.

@stevenrobday
Copy link
Author

wow! seriously, thank you. I wasn't expecting a response so fast... It's for a leaderboard for an arcade convention here this weekend (I'm finishing up), so again, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants