diff --git a/src/lib/components/Keyboard.ts b/src/lib/components/Keyboard.ts index a738ced7..962ae09b 100644 --- a/src/lib/components/Keyboard.ts +++ b/src/lib/components/Keyboard.ts @@ -1688,7 +1688,7 @@ class SimpleKeyboard { updated_startIndex, updated_endIndex - updated_startIndex + 1 ); - removedElements = updated_endIndex - updated_startIndex; + removedElements += updated_endIndex - updated_startIndex; /** * Inserting elements to container