I am using TweenMax to shoot to a certain point of the page like so:
TweenMax.set(map.win, {
scrollTo : { y: val }
});
This goes to the wrong position but works properly elsewhere in my code strangely...
for now I am doing this instead and works properly, but feels like a gimmick:
TweenMax.to(map.win, 0.000001, {
scrollTo : { y: val }
});
Any help would be appreciated!