Skip to content

Commit a8aa4ed

Browse files
Keyboard fix
1 parent b62ef7c commit a8aa4ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/KeyboardCompatibleView/KeyboardCompatibleView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ class KeyboardCompatibleView extends React.Component {
127127
};
128128

129129
unsetKeyboardListeners = () => {
130-
this._subscriptions.forEach((subscription) => {
130+
this._subscriptions = this._subscriptions.filter((subscription) => {
131131
subscription.remove();
132+
return false;
132133
});
133134
};
134135

0 commit comments

Comments
 (0)