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(topbar): disallow scope.apply when topbar is not sticky #306

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Neil-Ni
Copy link

@Neil-Ni Neil-Ni commented Jun 9, 2016

What kind of change does this PR introduce?: performance improvement
What is the current behavior?:
I noticed this when I was doing profiling on my application:
screen shot 2016-06-09 at 3 12 47 pm
Currently if the top bar is not specified as sticky in anyway it still tries to call scope.$apply, which can potentially slow down the application. In my case, the application is relatively large, and the slowness starts to get noticeable.
What is the new behavior?: it doesn't run scope.apply if topBar is not sticky
Does this PR introduce a breaking change?: no

thanks!

@terotil
Copy link

terotil commented Sep 2, 2016

We are bitten by this quite heavily.

@jbrowning any plans to check this (and the pile of other) PR's? If not (and it is perfectly OK!) it would be cool to find a new maintainer or core team.

@terotil
Copy link

terotil commented Sep 27, 2016

@Neil-Ni FYI, Future of the project is to be decided, see #311

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.

2 participants