We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScrollToView无法正常滚动。看了下源码应该是right和bottom算错了? 之前的计算是 float bottom = _yPos + _viewSize.y; 而实际应该是 rect.y + _viewSize.y 得到bottom 另外如果在刚好相等的情况下,应该是允许滚动的。为什么反而在相等的时候不允许滚动了呢?
The text was updated successfully, but these errors were encountered:
计算没有问题。 是指什么相等?建议出个demo看看问题。
Sorry, something went wrong.
No branches or pull requests
ScrollToView无法正常滚动。看了下源码应该是right和bottom算错了?
之前的计算是
float bottom = _yPos + _viewSize.y;
而实际应该是 rect.y + _viewSize.y 得到bottom
另外如果在刚好相等的情况下,应该是允许滚动的。为什么反而在相等的时候不允许滚动了呢?
The text was updated successfully, but these errors were encountered: