forked from cybrespace/pinafore
update comment
This commit is contained in:
parent
b98a0c6b85
commit
9782cb400f
|
@ -38,7 +38,7 @@
|
||||||
let key = this.get('key')
|
let key = this.get('key')
|
||||||
asyncLayout.observe(key, this.refs.node, (rect) => {
|
asyncLayout.observe(key, this.refs.node, (rect) => {
|
||||||
asyncLayout.disconnect()
|
asyncLayout.disconnect()
|
||||||
// update all item heights in one microtask batch for better perf
|
// update all item heights in one batch for better perf
|
||||||
this.store.batchUpdate('itemHeights', key, rect.height)
|
this.store.batchUpdate('itemHeights', key, rect.height)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue