Skip to content

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

Description

@AlexPikalov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions