Built a lightning component; put it as a component tab in sf1.
Is there a way to disable the “pull to refresh” and “pull to Show More” at the top/bottom of the page if that makes no sense for this tab?
Can a component request that the page be non-pullable?
Answer
I think that I found a better solution:
In your .cmp file, add an aura:id to the top-level , e.g.
Then define the following renderer:
({
afterRender : function(component, helper) {
this.superAfterRender();
var targetEl = component.find("mainapp").getElement();
targetEl.addEventListener("touchmove", function(e) {
e.stopPropagation();
}, false);
}
})
Attribution
Source : Link , Question Author : Shane McLaughlin , Answer Author : Steve Drucker