GKPageScrollView icon indicating copy to clipboard operation
GKPageScrollView copied to clipboard

在某种情况下会触发滚动的死循环

Open houjiahui90 opened this issue 2 years ago • 2 comments

image 如图577行代码不够健全,在操作时offsetY的值能够变为-0.3 (测试-0.1~-0.5都会触发),然后进行滚动时,触发了KVO操作但TableView并不会去实际滚动,导致再次刷新这个判断又成立,然后继续滚动,再触发KVO,最终死循环。 bug原因:视网膜屏幕绘制精度问题 测试设备iPad OS 15.7

houjiahui90 avatar Sep 14 '22 09:09 houjiahui90

模拟器能复现吗,我这测试没问题

QuintGao avatar Sep 15 '22 02:09 QuintGao

不是用的模拟器,是在真机上,测试设备是新款iPad Air,模拟器上肯定不会发生像素对齐的问题。

2022年9月15日 10:47,QuintGao @.***> 写道:

模拟器能复现吗,我这测试没问题

— Reply to this email directly, view it on GitHub https://github.com/QuintGao/GKPageScrollView/issues/113#issuecomment-1247513602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4I2LSBDH4BP3RPJZD7XO3V6KE2XANCNFSM6AAAAAAQMGJFLM. You are receiving this because you authored the thread.

houjiahui90 avatar Sep 15 '22 02:09 houjiahui90

我目前会在iOS 11的设备上偶现 UI卡死的情况,不能滑动不能点击,不确定是不是这个原因导致 版本是1.8.0

YuanJiaShuai avatar Mar 06 '23 03:03 YuanJiaShuai

我自己写了个简单的滑动嵌套问题,设置这个contentOffset在线上也会出现崩溃,应该是这种方式设置并不正确

bolee avatar May 10 '23 07:05 bolee