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

Filtering is broken if ok-kind and isotope-container are registered within a different scopes. #47

Open
AlexPikalov opened this issue Aug 3, 2015 · 1 comment

Comments

@AlexPikalov
Copy link

I faced with a filtering issue. If ok-kind and isotope-container are registered within different scopes filtering does not work. Particulary if a page layout is something like this

<div ok-kind>... <div>
<div ng-if="condition">
  ...
  <div isotope-container></div>
  ...
</div>

the root cause is scope.$emit within opt-kind link-function

emitOption = function (option) {
  optionsStore.store(option);
  return scope.$emit(optPublish, option)
}

Quick solution is to replace scope.emit -> scope.$broadcast

@mattfili
Copy link

+1

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