You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any time I would save changes and refresh the app while on the screen with the rich editor (through Metro bundler, but I don't think this problem is specific to that), I would get the below errors and usually would have to rebuild the app to make it responsive again:
ERROR TypeError: _reactNative.Keyboard.removeListener is not a function. (In '_reactNative.Keyboard.removeListener('keyboardDidShow', this.onKeyShow)', '_reactNative.Keyboard.removeListener' is undefined)
This error is located at:
...
ERROR Error: Toolbar has no editor!
ERROR Error: Toolbar has no editor!
Found a similar issue here with a solution that solved this problem as well.
Running the code in Example.
Any time I would save changes and refresh the app while on the screen with the rich editor (through Metro bundler, but I don't think this problem is specific to that), I would get the below errors and usually would have to rebuild the app to make it responsive again:
ERROR TypeError: _reactNative.Keyboard.removeListener is not a function. (In '_reactNative.Keyboard.removeListener('keyboardDidShow', this.onKeyShow)', '_reactNative.Keyboard.removeListener' is undefined)
This error is located at:
...
ERROR Error: Toolbar has no editor!
ERROR Error: Toolbar has no editor!
Found a similar issue here with a solution that solved this problem as well.
Need to change:
to:
Looks as though removeListener was removed from RN in a recent update. Easy fix though.
The text was updated successfully, but these errors were encountered: