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
Partial Mitigation for Samsung TextInput Hangs (facebook#35967)
Summary:
Pull Request resolved: facebook#35967
In facebook#35936 we observed that the presence of AbsoluteSizeSpan may lead to hangs when using the Grammarly keyboard on Samsung.
This mitigation makes it so that we do not emit this span in the most common cases, when it is sufficient to set `android:textSize`. In simple cases, it causes typing into the TextInput to no longer hang.
This does not resolve the issue for TextInputs which meaningfully use layout-effecting spans (or at least font size), such as non-uniform text size within the input. We could potentially do further work to reduce the number of spans emitted in these scenarios, but this may be fighting a losing battle against the platform.
Changelog:
[Android][Fixed] - Partial Mitigation for Samsung TextInput Hangs (Paper)
Reviewed By: cortinico
Differential Revision: D42721684
fbshipit-source-id: 1b6935014c8055c3bd547c7ba5294bb9975479c2
0 commit comments