You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
Sliding layer does not fully disappear when calling closeLayer(true). This will occur when sliding layer's layout is in small width or height.
I checked the code, and found it is caused by computeScroll() has not been called again when mScroller is reaching to its final position but not the final position.
Eg. i have a sliding layer with height 200, when i closed the sliding layer, and it will call smoothScrollTo(0, 200), and computeScroll() will stop to be called when mScroller's current position reach to 198. So the layer will not scroll to the position 220, and will not totally disappear.
Further, i will make a pull request to fix this bug.
The text was updated successfully, but these errors were encountered:
Sliding layer does not fully disappear when calling closeLayer(true). This will occur when sliding layer's layout is in small width or height.
I checked the code, and found it is caused by computeScroll() has not been called again when mScroller is reaching to its final position but not the final position.
Eg. i have a sliding layer with height 200, when i closed the sliding layer, and it will call smoothScrollTo(0, 200), and computeScroll() will stop to be called when mScroller's current position reach to 198. So the layer will not scroll to the position 220, and will not totally disappear.
Further, i will make a pull request to fix this bug.
The text was updated successfully, but these errors were encountered: