i could not scroll it when the ion-content is wrapped inside a ion-side-menus directive on mobile device.
module.directive('textarea', function() {
return {
restrict: 'E',
scope: {
},
link: function (scope, element, attrs) {
element.bind('touchend touchmove touchstart', function(e){
e.stopPropagation();
});
}
};
});
module.directive('input', function() {
return {
restrict: 'E',
scope: {
},
link: function (scope, element, attrs) {
element.bind('touchend touchmove touchstart', function(e){
e.stopPropagation();
});
}
};
});
The code above is what i added to enable the touch scroll event on input/textarea tag…is there any compatible issues ?
Or i missed anything else ?