Even in this great example, if you input an initPosition of 50 in the x axis, it still initializes at 0
There may be some messy workarounds, like forcing the position via CSS transform with an initial position as you do a scrollTo to the initPosition coordinates. Not ideal
Did you find the problem with initPosition?
Even in this great example, if you input an initPosition of 50 in the x axis, it still initializes at 0
There may be some messy workarounds, like forcing the position via CSS
transform
with an initial position as you do a scrollTo to the initPosition coordinates. Not ideal