Skip to content

Commit 73e9e2d

Browse files
authored
Merge pull request #55 from nanoxd/fix-readme-offset
📝 Fix contentOffset example
2 parents bd086cd + d4e6414 commit 73e9e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RxKeyboard.instance.frame
6060
```swift
6161
RxKeyboard.instance.willShowVisibleHeight
6262
.drive(onNext: { keyboardVisibleHeight in
63-
scrollView.contentInset.offset.y += keyboardVisibleHeight
63+
scrollView.contentOffset.y += keyboardVisibleHeight
6464
})
6565
.disposed(by: disposeBag)
6666
```

0 commit comments

Comments
 (0)