Famous/famous-angular

Famous-angular + Angular-material(ngMaterial) issues

ArthurianX opened this issue · 0 comments

I will post this issue on both repositories (https://github.com/Famous/famous-angular + https://github.com/angular/material)

I am using famo.us and ngMaterial on a MeteorJS Project (and Meteor to top it all off, but there's no conflicts there) and I have had several issues, depending on which library gets to load first.

Use case:

  1. ngMaterial loads before famo.us, so famo.us overwrites some of ngMaterial's functionality
    Result:
    a) implementing ngMaterial tabs will crash the whole application
    b) animations generally won't find necessary methods and will crash the application
  2. ngMaterial loads after famo.us thus overwriting event listeners put in place by famo.us
    Result: famo.us directives aren't working (all of them imply animation, and what I tried didn't work)

I think the common denominator is the event listeners for touch (in my case) and how they handle animations on event firing.

What would we need in this case? An external angular plugin/service which will merge the event listeners, or work on both libraries to create compatibility ?

I know that there's probably no one's business to support both libraries in a project (or that's how I see it), but what could be done on this subject.

I am willing to help.