Thanks for pointing that out! The actual tutorial repo is using the correct 
version. The next website build should pick up the correct version of the 
tutorial.

Thanks,
Arthur



On Monday, September 8, 2014 11:02:15 AM UTC-7, cletusw wrote:
>
> That's because the page isn't scrolling. An internal element of 
> core-header-panel is. Current versions of core-header-panel include a 
> scroller 
> <http://www.polymer-project.org/docs/elements/core-elements.html#core-header-panel>
>  
> property that gives you access to the element on which you can get the 
> correct scrollTop. Looks like 
> http://www.polymer-project.org/apps/polymer-tutorial/finished/ is using 
> an old one, so it doesn't have that.
>
> Em segunda-feira, 8 de setembro de 2014 11h32min38s UTC-6, Sid Kat 
> escreveu:
>>
>> It seems that you cannot get the scroll state of a page like that from 
>> the tutorial 
>> http://www.polymer-project.org/apps/polymer-tutorial/finished/.
>> I've encountered the same issue with a similar page where most of the 
>> content goes into one custom polymer element.
>> Scrolling up and down does not change document.body.scrollTop or 
>> window.scrollY (or whatever), they are always 0.
>> And button events on such pages do not distinguish between pageY, clientY, 
>> screenY and y.
>>
>

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/70e01811-6b13-4b87-8705-537e4112a085%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to