We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba8028a commit 5a3b01dCopy full SHA for 5a3b01d
Sources/RxKeyboard.swift
@@ -58,7 +58,7 @@ public class RxKeyboard: NSObject {
58
}
59
.filter { state in state.isShowing }
60
.map { state in state.visibleHeight }
61
- self.didChangeVisibility = self.visibleHeight.map({ $0 != 0.0 })
+ self.didChangeVisibility = self.visibleHeight.map({ $0 != 0.0 }).distinctUntilChanged()
62
super.init()
63
64
// keyboard will change frame
0 commit comments