Skip to content

Commit c532cc3

Browse files
authored
Merge pull request #112 from constantineSafronov/master
maximumNumberOfTouches of panRecognizer restricted to 1
2 parents 5b0a883 + 7922598 commit c532cc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/RxKeyboard/RxKeyboard.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public class RxKeyboard: NSObject, RxKeyboardType {
124124

125125
// gesture recognizer
126126
self.panRecognizer.delegate = self
127+
self.panRecognizer.maximumNumberOfTouches = 1
127128

128129
UIApplication.rx.didFinishLaunching // when RxKeyboard is initialized before UIApplication.window is created
129130
.subscribe(onNext: { _ in

0 commit comments

Comments
 (0)