*Edit:* Previously, I had opted not to have a tab selected by default. 
However, when I decided to have a tab viewable on load via the below code I 
no longer ran into this issue. It still seems to be a problem though.

window.addEventListener('WebComponentsReady', function() {
    // imports are loaded and elements have been registered
    var template = document.querySelector('template[is="dom-bind"]');
    template.selected = 0; // selected is an index by default});


On Thursday, July 30, 2015 at 10:49:22 PM UTC-7, [email protected] wrote:
>
> I have run into what I think is a weird issue with scrolling in iOS.
>
> I have a pretty basic app with html setup like this: 
>
> <paper-scroll-header-panel condenses keep-condensed-header>
>     <paper-toolbar class="tall layout horizontal" id="title-toolbar">
>       <div class="bottom bottom-container horizontal layout">
>         <div class="bottom-title paper-font-subhead">Title</div>
>       </div>
>
>     </paper-toolbar>
>     <div id="content" class="content-dark">
>       <div class="horizontal center-justified layout">
>         <!-- some body content here -->
>       </div>
>
>       <paper-toolbar justify="center">
>           <paper-tabs selected="{{selected}}" class="fit" scrollable>
>               <paper-tab>1</paper-tab>
>               <paper-tab>2</paper-tab>
>               <paper-tab>3</paper-tab>
>               <paper-tab>4</paper-tab>
>           </paper-tabs>
>       </paper-toolbar>
>         <iron-pages selected="{{selected}}">
>             <div><!-- page content --></div>
>             <div><!-- page content --></div>
>             <div><!-- page content --></div>
>             <div><!-- page content --></div>
>         </iron-pages>
>     </div>
>   </paper-scroll-header-panel>
>
>
> On iOS when you click a paper-tab and the associated iron-page shows you 
> are not able to scroll down...it just pulls the whole page up from the 
> bottom as if the content didn't continue past the fold. However, if you 
> click on another tab and then come back to the original tab it scrolls just 
> fine...
>
> At first I thought it might have something to do with my content-scroll 
> event listeners but when I disabled them it still happened.
>
> Has anyone experienced this?
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/7d63141b-5133-41da-bee5-0e8ff7efe9f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to