mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-04-18 07:33:11 +08:00
Fix caret positioning issue per https://github.com/hodgef/react-simple-keyboard/issues/1756
This commit is contained in:
parent
3b9efbe57f
commit
b9ec6a8908
@ -1127,10 +1127,6 @@ class SimpleKeyboard {
|
|||||||
event.target === instance.keyboardDOM ||
|
event.target === instance.keyboardDOM ||
|
||||||
(event.target && instance.keyboardDOM.contains(event.target));
|
(event.target && instance.keyboardDOM.contains(event.target));
|
||||||
|
|
||||||
if (instance.isMouseHold) {
|
|
||||||
instance.isMouseHold = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(targetTagName === "textarea" ||
|
(targetTagName === "textarea" ||
|
||||||
(targetTagName === "input" &&
|
(targetTagName === "input" &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user