naver / egjs-conveyer

Conveyer adds Drag gestures to your Native Scroll.
https://naver.github.io/egjs-conveyer/
MIT License
111 stars 8 forks source link

fix: set isHold to false when release occur #34

Closed malangfox closed 1 year ago

malangfox commented 1 year ago

Details

isHold becomes true when "hold" event of axes is fired, and there is no logic to return it to false. This can cause unexpected behavior in the code such as this._isAnimation = !!isHold.

This returns isHold to false when the release event of axes is fired.

daybrush commented 1 year ago

LGTM