Revise text insertion logic and rely on using the DOM to update value (#354)

* Read DOM text value for input events

* Clean up a ton of issues and revise logic

* Fix tests

* Fix bugs

* Extend functionality
This commit is contained in:
Dominic Gannaway
2021-06-02 12:35:11 +01:00
committed by acywatson
parent 1210389b49
commit c18b1b5106
9 changed files with 157 additions and 109 deletions

View File

@ -41,5 +41,8 @@
"39": "Reconcilation: could not find DOM element for node key \"${key}\"",
"40": "reconcileNode: parentDOM is null",
"41": "Expected node %s to have a top parent block.",
"42": "Expected node %s to have a parent block."
"42": "Expected node %s to have a parent block.",
"43": "onNativeInput: cannot find DOM element for anchor node",
"44": "onNativeInput: cannot find DOM element and its text node for anchor node",
"45": "updateTextNodeContentFromDOM: cannot find DOM element and its text node for node"
}