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
The custom keyboard component (any keyboard created with CustomKeyboardExtension), should be reactive and should unmount when the keyboard is closed.
What is Happening
Currently we get reactive data in the custom keyboard from the useRemoteEditorBridge hook which basically listens for changes on the editor and stops listening when unmounted. When the the keyboard is closed the keyboard's root view is removed from the view on the native side, but is not unmounted on the react side. So all of the JS is still alive there and it still listens for changes on the editor.
The text was updated successfully, but these errors were encountered:
What is Expected
The custom keyboard component (any keyboard created with
CustomKeyboardExtension
), should be reactive and should unmount when the keyboard is closed.What is Happening
Currently we get reactive data in the custom keyboard from the
useRemoteEditorBridge
hook which basically listens for changes on the editor and stops listening when unmounted. When the the keyboard is closed the keyboard's root view is removed from the view on the native side, but is not unmounted on the react side. So all of the JS is still alive there and it still listens for changes on the editor.The text was updated successfully, but these errors were encountered: