Skip to content

Commit d4e6414

Browse files
committed
📝 Fix contentOffset example
1 parent bd086cd commit d4e6414

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)