This PR fixes an issue when the placeholder size was different (by a little bit) than what was defined in the adapter. This was mostly visible on smaller placeholders. I think only the last placeholder of the document was affected.
In addition it fixes the width so that the cursor doesn't overlap the placeholder
Test (it's better to test this with the PR where it's used)
Setup placeholders
Add 2 placeholders to the EXAMPLE
Add logging of actual height to the code
Check the height is fixed
Review
@khaykov
Make sure strings will be translated:
[x] If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.
Fix
This PR fixes an issue when the placeholder size was different (by a little bit) than what was defined in the adapter. This was mostly visible on smaller placeholders. I think only the last placeholder of the document was affected.
In addition it fixes the width so that the cursor doesn't overlap the placeholder
Test (it's better to test this with the PR where it's used)
EXAMPLE
Review
@khaykov
Make sure strings will be translated:
strings.xml
as a part of the integration PR.