Commit afb708f
Fix DOMObserver mutation data for IE (facebookarchive#2285)
Summary:
Pull Request resolved: facebookarchive#2285
IE 11 considers the enter keypress that concludes the composition as an input char, which ends up adding a new line to the editor. I am adding code to strip that newline character when processing the mutation event.
Reviewed By: mrkev
Differential Revision: D19141003
fbshipit-source-id: 53848e42d0e2b45d609e6623cc5d5579168b73fe1 parent efcaf42 commit afb708f
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments