We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c638cf8 commit f3d797fCopy full SHA for f3d797f
src/grid/column/AnimatedChange.mjs
@@ -53,13 +53,16 @@ class AnimatedChange extends Column {
53
* @param {Neo.data.Model} data.model The model instance of the changed record
54
* @param {Object} data.record
55
*/
56
- onRecordChange({fields, record}) {
+ async onRecordChange({fields, record}) {
57
let me = this,
58
{view} = me.parent,
59
cellId, field, node;
60
61
for (field of fields) {
62
if (field.name === me.dataField) {
63
+ // Wait for the next animation frame
64
+ await me.timeout(20);
65
+
66
cellId = view.getCellId(record, me.dataField);
67
node = VdomUtil.find(view.vdom, cellId)?.vdom;
68
0 commit comments