Keyboard fails to init correctly if attached input has a value

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

Simple-keyboard version
3.4.120

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 https://codesandbox.io/s/github/hodgef/vue-simple-keyboard/tree/dark-theme

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

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date