layoutCandidates are not shown when using Key Navigation Module

This issue has been tracked since 2021-08-16.

Run with latest stable simple-keyboard version.

Describe the bug
When using key navigation module, the layoutCandidates can be shown when user click keys by mouse, but the candidates are not shown when user user key navigation and press enter (hardware keyboard), the input is updated, but no candidates shows.
and also, the candidates can not be select by key navigation, user have to use touch or mouse click to select them.


hodgef wrote this answer on 2021-08-19

Hello @cbfrank,

When creating the layoutCandidates functionality, I didn't intend for it to be used with the key-navigation module. However, I agree that it makes sense to support it. I would be willing to work on this soon, potentially next week.

I will track this feature request in the Enhancements project and will update this thread as soon as I get to work on it.

Thank you,
Francisco Hodge

hodgef wrote this answer on 2021-09-05

Hey @cbfrank,

I have deployed an update to simple-keyboard-key-navigation (latest) to support layoutCandidates.

The support is quite basic as you can see in the following gif, but it should do the job. Feel free to update the module and give it a try.


Francisco Hodge

cbfrank wrote this answer on 2021-09-06

Thank you so much for supporting this in a very short time. I have download the latest simply-keyboard and simple-keyboard-key-navigation and put the index.js from both lib into my local project. but this seems doesn't work for me and event broken the existing of press enter, with the latest code, I can move with the hardware arrow keys, but press enter does nothing, no soft key is press actually. I have put all my project code here

Thank you!

hodgef wrote this answer on 2021-09-06

Sorry about that, I will clone your repo and investigate. Thanks!

hodgef wrote this answer on 2021-09-06

Hey @cbfrank,

The issue should be fixed as of [email protected] Feel free to update and give it a try.

Francisco Hodge

cbfrank wrote this answer on 2021-09-07

It works very well!
Thank you very much for helping on this!

Best regards

More Details About Repo
Owner Name hodgef
Repo Name simple-keyboard
Full Name hodgef/simple-keyboard
Language JavaScript
Created Date 2018-03-02
Updated Date 2022-12-02
Star Count 1737
Watcher Count 20
Fork Count 130
Issue Count 0


Issue Title Created Date Updated Date