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 6c4c5d1 commit 77584b6Copy full SHA for 77584b6
src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx
@@ -145,8 +145,9 @@ export class KeyboardCompatibleView extends React.Component<
145
};
146
147
unsetKeyboardListeners = () => {
148
- this._subscriptions.forEach((subscription) => {
+ this._subscriptions = this._subscriptions.filter((subscription) => {
149
subscription.remove();
150
+ return false;
151
});
152
153
0 commit comments