Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"sourceLanguage" : "ko",
"strings" : {
"#%@" : {
"comment" : "A badge displaying the number of a todo list item. The argument is the item's number.",
"isCommentAutoGenerated" : true
},
"account_alert_already_linked_message" : {
"extractionState" : "manual",
"localizations" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,11 @@ private struct SheetDragGesture: UIGestureRecognizerRepresentable {
// 목록 순서 바꾸기 손잡이처럼 직접 끄는 컨트롤은 시트를 끌지 않음
guard let hitView = view.hitTest(startLocation, with: nil), !(hitView is UIControl) else { return false }

// 스크롤을 끈 본문 웹 화면 같은 스크롤 뷰는 건너뛰고 실제로 당겨지는 바깥 스크롤 내용을 고정
scrollView = sequence(first: hitView, next: \.superview)
.lazy
.compactMap { $0 as? UIScrollView }
.first { $0.alwaysBounceVertical || $0.bounds.height < $0.contentSize.height }
.first { $0.isScrollEnabled && ($0.alwaysBounceVertical || $0.bounds.height < $0.contentSize.height) }
guard let scrollView else { return true }
return scrollView.contentOffset.y <= -scrollView.adjustedContentInset.top
}
Expand Down