Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Fix use with md-virtual-repeat (and other directives that recycle rep… #475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jayellsbrg
Copy link

@jayellsbrg jayellsbrg commented Sep 13, 2016

…eated items): update self.id before each access.

Since md-virtual-repeat recycles elements, the model will update, but not create a new element, so postLink, and consequently, reassignment of self.id, would not run again.

  • Also remove use of $parse. The model and items that are being accessed have already been parsed, but more importantly, md-virtual-repeat scrolling lagged/froze up when running the parse function every time.

…eated items): update `self.id` before each access.

- Also remove use of $parse. The model and items that are being accessed have already been parsed, but more importantly, md-virtual-repeat scrolling lagged/froze up when running the parse function every time.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant