Disable Samsung predictive text in the Aztec editor #21740
+6
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #21739
Support ticket: 9482638-zd-a8c
Slack discussion: p1741286044939189-slack-C04PWEZSYFL
A user reported that changing links in their post in the Android app caused images to be replaced with
[OBJ]
blocks. We were unable to reproduce the issue on Pixel devices, but we were able to reproduce it on a Samsung device.We then discovered that this exact issue has occurred before, and the proposed solution was to use AztecText.enableSamsungPredictiveBehaviorOverride to disable predictive text on Samsung devices running API 33+. This PR adds this solution.
To test:
trunk
, open the post in a Samsung device using the Samsung keyboard, scroll down past the image, and modify the text (note the user reported that adding a hyperlink caused the issue)[OBJ]