Skip to content
New issue

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

Fix Bug:带灵动导的机型在某些场景中下拉刷新死循环 #1576

Closed

Conversation

iAmNotTom
Copy link

@iAmNotTom iAmNotTom commented Sep 27, 2022

关联 #1575
Fix Bug:带灵动导的机型的adjustedContentInset.top(包含safeAreaInsets.top)返回一个浮点数精度极高的异常值 影响判断 下拉刷新造成死循环

复现case:
1、ViewController 在viewWillAppear里 edgesForExtendedLayout.insert(.top)
2、scrollView的edges equal to superView布局
3、scrollView设置了contentInsets.top 比如32
4、执行下拉刷新
@CoderMJLee @wolfcon
截屏2022-09-27 19 34 46

…极高的异常值 影响判断 下拉刷新造成死循环

复现case:
1、ViewController 在viewWillAppear里 edgesForExtendedLayout.insert(.top)
2、scrollView的edges eque to superView布局
3、scrollView设置了contentInsets.top 比如32
4、执行下拉刷新
@wolfcon
Copy link
Collaborator

wolfcon commented Apr 5, 2023

already fixed in #1581

@wolfcon wolfcon closed this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants