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

fix resizing collisions caused by asynchronous nature of scope.$watch #33

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

Conversation

Merott
Copy link
Contributor

@Merott Merott commented Jul 31, 2015

The resizing sometimes wouldn't work as expected because resize was being called at different times with different values, and not always the most recent would win. By implementing a short delay, and ensuring that previous calls to resize() are cancelled, the resizing can be done more reliably.

The resizing sometimes wouldn't work as expected because the resize function
was being called at different times with different values, and not always
the most recent would win. By implementing a short delay, and ensuring that
previous calls to resize() are cancelled, the resizing can be done more reliably
@duezerouno
Copy link

Fixes #54. Thank you @Merott

@LoganLehman
Copy link

@Merott @patrickmarabeas - Can we please get this merged?

@patrickmarabeas
Copy link
Owner

Integrated the changes; check v4.2.2 and see whether it works as expected.

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

Successfully merging this pull request may close these issues.

4 participants