You need to sign in to do that
Don't have an account?
Leo Wang
scroll issue in Lightning components with disabling insideScroller
Now I'm working on a Lightning component within Salesforce 1(native app). But a scroll problelm is killing me.
I have disabled inside scroller in code below.
scroller code,
I have disabled inside scroller in code below.
<aura:component controller="componentController" implements="force:appHostable"> <!-- inherited from interface force:appHostable --> <aura:attribute name="insideScroller" type="Boolean" default="false"/> </aura:component>A scroller is added to a pop up. The scroller isn't working on iPhone device only(native Salesforce1 app), but it works fine on desktop browsers include safari(web Salesforce1 app). Someone meeting the similar issue? Thanks a lot.
scroller code,
<div style="position:fixed; top:10%; left:10%; right:10%; z-index:101; max-height: 30em; display:none;"> <div style="overflow-y: scroll; -webkit-overflow-scrolling: touch;-webkit-transform: translateZ(0);"> <div class="mo-picklist-table"> <aura:iteration items="{!v.opts}" var="item"> <div class="mo-picklist-option" id="{!item}" onclick="{!c.select}"> <div class="mo-picklist-content"><aura:text value="{!item}"/></div> </div> </aura:iteration> </div> </div> </div>