Keyboard fails to init correctly if attached input has a value

This issue has been tracked since 2022-10-14.

Simple-keyboard version

Describe the bug
This only happens with the first input with data that activates simple-keyboard on any page. The issue can be reproduced in your code sandbox

In the App.vue file, change the initial data
data: () => ({ input: "Some data", theme: "hg-theme-default myTheme1" }),

Then click on the input and try for example deleting with backspace, it won't do anything, even if you click multiple times.
If you click any letter or number, it will clear the whole input data, even when the cursor appears to be at the end of the string, and then it will start behaving normally

hodgef wrote this answer on 2022-10-16

Duplicate of #55

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