Skip to content

Commit 5b58e01

Browse files
authored
Merge pull request #400 from GetStream/vishal/keyboard-fix
Fixing keyboard issue
2 parents 9148ea1 + 77584b6 commit 5b58e01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ export class KeyboardCompatibleView extends React.Component<
145145
};
146146

147147
unsetKeyboardListeners = () => {
148-
this._subscriptions.forEach((subscription) => {
148+
this._subscriptions = this._subscriptions.filter((subscription) => {
149149
subscription.remove();
150+
return false;
150151
});
151152
};
152153

0 commit comments

Comments
 (0)