Resign focus on richtext when unmounted#423
Conversation
Fixes an issue where TextInputState would still believe a specific RichText instance was focused after it was removed from view
|
Tested on emulators:
Real device:
the only thing that we'll need to tackle separately and is a known issue atm is that when there's nothing focused Android grabs the focus on some of the other Aztec editables, so for example in the demo app:
Other than that, this achieves the same purpose as intended in #421 and #420 with the more meaningful and clarity. I'd title this Thanks for the brevity and taking a look into how |
|
Just for completeness, a note regarding this:
I confirm this one is fixed on the WPAndroid side, it seems the change introduced in wordpress-mobile/WordPress-Android#8826 suffices already, specifically this change: It will still exist on the demo Gutenberg app. To test:
|
Fixes an issue where TextInputState would still believe a specific RichText
instance was focused after it was removed from view
Fixes #415
An alternative to #420 and #421