This repository was archived by the owner on Jan 15, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44- Added ` UITextField ` and ` UIScrollView ` ` install() ` delegate helpers.
55- Added remaining methods to ` ScrollViewDelegete ` .
66- Added ` GestureRecognizerDelegate ` .
7+ - Fixed a bug in ` UIScrollView.adjustContentOffset ` for scrollviews with a non-zero ` frame.origin.y ` .
78
89## 1.3.3
910- Bugfix: Remove hardcoded value used for determing smallest resizable image size causing not smooth borders of rounded images
Original file line number Diff line number Diff line change @@ -164,9 +164,7 @@ private extension UIScrollView {
164164 func adjustContentOffset( _ adjustInsets: ( UIView ) -> UIEdgeInsets ) {
165165 guard let firstResponder = firstResponder as? UIView else { return }
166166
167- var bounds = frame // Can't use a scroll views bounds directly.
168- bounds. origin = . zero
169- let viewRect = UIEdgeInsetsInsetRect ( bounds, contentInset)
167+ let viewRect = UIEdgeInsetsInsetRect ( frame, contentInset)
170168 let firstBounds = UIEdgeInsetsInsetRect ( firstResponder. bounds, adjustInsets ( firstResponder) )
171169 let firstFrame = convert ( firstBounds, from: firstResponder)
172170
You can’t perform that action at this time.
0 commit comments