Commit c4068c6
committed
fix(textarea): ensure viewport content is set during update
This ensures that the viewport content is set and persisted correctly.
Setting the content during View won't doesn't work because it mutates a
copy of the model instead without persisting the changes. Moreover, any
after effects of setting the content won't be visible because the next
Update will be called on the older model, not the new one.1 parent 1e2ffbb commit c4068c6
1 file changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1238 | 1241 | | |
1239 | 1242 | | |
1240 | 1243 | | |
| |||
1257 | 1260 | | |
1258 | 1261 | | |
1259 | 1262 | | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
| 1263 | + | |
| 1264 | + | |
1263 | 1265 | | |
1264 | 1266 | | |
1265 | 1267 | | |
| |||
1352 | 1354 | | |
1353 | 1355 | | |
1354 | 1356 | | |
1355 | | - | |
1356 | | - | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
1357 | 1373 | | |
1358 | 1374 | | |
1359 | 1375 | | |
| |||
0 commit comments