I’m using html directive to parse html snippet. It works fine, my snippet is loaded. However, I can’t scroll on it.If I put overflow-scroll=“true” when I try to scroll modal becomes white, and content underneath it is scrolled. If i remove overflow-scroll, nothing happens.
Inject $ionicScrollDelegate in the custom html directive and be sure to call .resize() to recalculate the size of its container, if the content added inside the ion-content is more dynamic.
Using the same $scope in modal will make this works (but the modal it’s not smooth at all), before I was creating a totally new scope:
var scope = $rootScope.$new();
To fix any element that won’t scroll, just add the class “scroll”