Skip to content

Commit 002c98a

Browse files
committed
Add a note about a bug fix for <dom-repeat> chunking.
1 parent d9fc4fb commit 002c98a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,16 @@ This update to Polymer includes some new [global settings](https://polymer-libra
187187

188188
**Should I use it?** Consider using this setting if you are already using the `legacyOptimizations` setting and migrating older components that depend on `disable-upgrade` without explicit application of `DisableUpgradeMixin`.
189189

190+
### Bug fixes
191+
192+
#### `<dom-repeat>`
193+
194+
- Chunking behavior
195+
196+
`<dom-repeat>` no longer resets the number of rendered instances to `initialCount` when modifying `items` with `PolymerElement`'s array modification methods ([`splice`](https://polymer-library.polymer-project.org/3.0/api/mixins/element-mixin#ElementMixin-method-splice), [`push`](https://polymer-library.polymer-project.org/3.0/api/mixins/element-mixin#ElementMixin-method-push), etc.). The number of rendered instances will only be reset to `initialCount` if the `items` array itself is replaced with a new array object.
197+
198+
See [#5631](https://github.com/Polymer/polymer/issues/5631) for more information.
199+
190200
## [v3.3.1](https://github.com/Polymer/polymer/tree/v3.3.1) (2019-11-08)
191201
- [ci skip] bump to 3.3.1 ([commit](https://github.com/Polymer/polymer/commit/11f1f139))
192202

0 commit comments

Comments
 (0)