mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
Address checkbox selectionRange issue. Fixes #855
This commit is contained in:
@@ -847,8 +847,9 @@ class SimpleKeyboard {
|
||||
|
||||
if (
|
||||
(targetTagName === "textarea" || targetTagName === "input") &&
|
||||
"selectionStart" in event.target &&
|
||||
"selectionEnd" in event.target &&
|
||||
["text", "search", "url", "tel", "password"].includes(
|
||||
event.target.type
|
||||
) &&
|
||||
!instance.options.disableCaretPositioning
|
||||
) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user