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

dragGesture 超過所設置的高度 #4

Open
Steven364 opened this issue Jan 19, 2021 · 1 comment
Open

dragGesture 超過所設置的高度 #4

Steven364 opened this issue Jan 19, 2021 · 1 comment

Comments

@Steven364
Copy link

Steven364 commented Jan 19, 2021

我使用以下 Code:
ACarousel(urls, id: \.self, index: $bannerIndex, spacing: 10, headspace: 10, sidesScaling: 0.8, isWrap: true, autoScroll: .active(3)) { url in BannerNetworkImage(urlString: url) .frame(height: 150) .cornerRadius(10) } .frame(height: 150)
但是滑動範圍超過了高度 150,可否修正呢?
因為這樣的話造成使用者不小心滑動到 (手沒在圖片上 依然可以滑動,似乎是全畫面手勢??)

例如我設置 150

但是在圖片的下緣 約高度 160 還是可滑動 .... !?

以上您的範例也可以重現

@jason-jianghv
Copy link

你好 请问这个问题有解决吗

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

No branches or pull requests

2 participants