Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

feat(perf): optimize width resizing #1535

Merged
merged 1 commit into from
Apr 4, 2016

Conversation

wesleycho
Copy link
Contributor

  • Optimize running dynamic width calculations when resizing

This is not the right way for updates to be made to the input size in general, but this is a vast improvement over the current method. The improvement here is that it does not touch the DOM until after everything stabilizes in the dirty checking loop, so it avoids the expensive DOM check in the watch expression callback until the end.

- Optimize running dynamic width calculations when resizing
@user378230 user378230 merged commit 600fab1 into angular-ui:master Apr 4, 2016
@wesleycho wesleycho deleted the feat/optimize-update branch April 6, 2016 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants