Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to img source value in lazy-img attribute not being picked up #42

Open
kiwikoda opened this issue Nov 25, 2017 · 1 comment
Open

Comments

@kiwikoda
Copy link

kiwikoda commented Nov 25, 2017

After first assigning an image source to the lazy-img attribute, subsequent changes to the attribute value are not picked up.

I think this used to work and would be a good feature.

Reversing change e33b011 (i.e. removing the deregister() call that was added inside the attribute observer) fixes the issue.

@craig-o-curtis
Copy link

I'm having the same issue -- Using $onChanges lifecycle, changes recognized but $rootScope.$emit('lazyImg:refresh'); doesn't cause repopulation of src attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants