PositionScrollView icon indicating copy to clipboard operation
PositionScrollView copied to clipboard

Update last position

Open mauroat22 opened this issue 5 years ago • 1 comments

Update last position self.lastPosition = position after scrolling programatically to prevent discordances between scrolling and selecting by clicking, for instance.

    public func moveTo(position: CGFloat) {
        self.lastPosition = position
        self.position = self.correctPositionInRange(position: position)
    }

mauroat22 avatar Nov 17 '20 17:11 mauroat22

is this still an issue? I'm about to use this library but this worries me, I'm not programmatically setting scroll offsets yet, but I probably will soon

AndrewSB avatar Feb 09 '21 04:02 AndrewSB