Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.1.1
-
None
Description
The count property of the Repeater item is supposed to hold the number of items in the Repeater, but that is not true while the items are being created/deleted.
Example:
- set model = 3
- all items will be deleted, starting at index 0
- count is set to 0
- count is set to 3
- items will be created, starting at index 0
Count tends to be too high during item creation/deletion. If a user tries to iterate through the items, based on a change in the count property the itemAt method will always return null for several items.
I would expect it to behave like this:
- set model = 3
- count is set to 0
- items will be deleted
- items will be created
- count is set to 3