krescruz / angular-materialize

Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
MIT License
397 stars 129 forks source link

Modal cannot be used if switching to MaterialCss 0.97.8 #207

Closed gaplo917 closed 7 years ago

gaplo917 commented 7 years ago

0.97.7 tested, and it is ok.

According to MaterialCss 0.97.8 Change Log

v0.97.8 (October 30th) Refactored Modal plugin Tabs now supported in navbar Chips data can now be reinitiailized Minor side nav fixes FAB to toolbar component added Fixed dropdown options bug


Error as shown 0.2.1 version angular-material

angular.js:13920 TypeError: element.leanModal is not a function
    at angular-materialize.js:1141
    at angular.js:19612
    at completeOutstandingRequest (angular.js:5964)
    at angular.js:6243
strongant commented 7 years ago

I also encountered this error, select the drop to 0.97.7

tobias-theobald commented 7 years ago

Duplicate of #202.

heoheoyh commented 7 years ago

i got same error

webbiesdk commented 7 years ago

Closed, duplicate of #202.