Closed Ankooo12 closed 8 months ago
I solved the issue. It is for Pull Request #49
Working: getScrollOffset() - scrollGeometry.frame(in: .global).minY + globalGeometry.frame(in: .global).minY
No Working: getScrollOffset() - scrollGeometry.frame(in: .global).minY - globalGeometry.frame(in: .global).minY
I have added a ScalingHeaderScrollView in VStack add added a customView with height 20 and ScalingHeader added spacing in content and crop the header. I have attached code and screen shot
` struct SimpleScalingHeader: View {
} `
Changes are done in Example. So please check
Same issue happen with TabView(Page)
`
import SwiftUI import ScalingHeaderScrollView
struct SimpleScalingHeader: View {
} `
Please check it. ASAP