From 7016cfd37b9b16c749844bf12a3b7979c5bccaae Mon Sep 17 00:00:00 2001 From: orosptq <126459541+orosptq@users.noreply.github.com> Date: Mon, 17 Feb 2025 10:25:53 +0100 Subject: [PATCH] Issue #2460 Solves group more than 2 elements --- src/lib/components/Keyboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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