neo.mjs 8.31.0 → 8.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/apps/ServiceWorker.mjs
CHANGED
package/apps/portal/index.html
CHANGED
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -263,12 +263,12 @@ const DefaultConfig = {
|
|
263
263
|
useVdomWorker: true,
|
264
264
|
/**
|
265
265
|
* buildScripts/injectPackageVersion.mjs will update this value
|
266
|
-
* @default '8.31.
|
266
|
+
* @default '8.31.1'
|
267
267
|
* @memberOf! module:Neo
|
268
268
|
* @name config.version
|
269
269
|
* @type String
|
270
270
|
*/
|
271
|
-
version: '8.31.
|
271
|
+
version: '8.31.1'
|
272
272
|
};
|
273
273
|
|
274
274
|
Object.assign(DefaultConfig, {
|
@@ -53,13 +53,16 @@ class AnimatedChange extends Column {
|
|
53
53
|
* @param {Neo.data.Model} data.model The model instance of the changed record
|
54
54
|
* @param {Object} data.record
|
55
55
|
*/
|
56
|
-
onRecordChange({fields, record}) {
|
56
|
+
async onRecordChange({fields, record}) {
|
57
57
|
let me = this,
|
58
58
|
{view} = me.parent,
|
59
59
|
cellId, field, node;
|
60
60
|
|
61
61
|
for (field of fields) {
|
62
62
|
if (field.name === me.dataField) {
|
63
|
+
// Wait for the next animation frame
|
64
|
+
await me.timeout(20);
|
65
|
+
|
63
66
|
cellId = view.getCellId(record, me.dataField);
|
64
67
|
node = VdomUtil.find(view.vdom, cellId)?.vdom;
|
65
68
|
|