Skip to content

Conversation

dreampiggy
Copy link
Collaborator

See the comment for reason:

// There are race condition when quick scroll, because SwiftUI handle for that @Published property // Indicator modifier code go into `if` condition and trigger `WebImage.body` (*) // Previous View struct call `onDisappear` and cancel the currentOperation // currentOperation then call error block, and isLoading = true again // isLoading true again trigger another new indicator, go into `else` condition and `Indicator.builder` // Current View struct loaded finished, call isLoading = true again // goto (*) 
@dreampiggy dreampiggy merged commit d1acfc5 into master Nov 2, 2019
@dreampiggy dreampiggy deleted the fix_quick_scroll_webimage_cpu_usage branch November 2, 2019 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant