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 b62ef7c commit a8aa4edCopy full SHA for a8aa4ed
src/components/KeyboardCompatibleView/KeyboardCompatibleView.js
@@ -127,8 +127,9 @@ class KeyboardCompatibleView extends React.Component {
127
};
128
129
unsetKeyboardListeners = () => {
130
- this._subscriptions.forEach((subscription) => {
+ this._subscriptions = this._subscriptions.filter((subscription) => {
131
subscription.remove();
132
+ return false;
133
});
134
135
0 commit comments