Absence of getScrollPosition method in scroll delegate


#1

Hello, comrades.
I need to get scroll position, but there is no documented method getScrollPosition() in scroll delegate. I think this might happen because we are using beta 1, but there is no way for us to switch to b10 at this moment, unfortunately. Is there a way I can get scroll position in b1?


#2

You could select your scrolled element and use native javascript to get scroll position.
Like: myDOMNode.scrollTop


#3

This value is always zero.
I found a way to get it through transform3d property, but now when i try to use scrollTo, it just freezes. Is it a known issue?