Description
Description: we have a custom view inherited from TextInputEditText, in which we specify the image on the right side using the setCompoundDrawablesWithIntrinsicBounds function, this view has a line length limit of 2000 characters,
but when you enter more than 1432 characters, the text changes color.
attached video below
Expected behavior: text will not change color and disappear
Source code: The code snippet which is causing this issue:
Minimal sample app repro: Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug fix process. You may attach a zip file of the sample app or link to a GitHub repo that contains the sample app.
Android API version: Android API version here:
- api 30
Material Library version: Material Android Library version you are using here (e.g., 1.1.0-alpha07) : - com.google.android.material:material:1.8.0 (I changed the version to the latest, did not help)
Device: Device on which the bug was encountered here : - Pixel2
To help us triage faster, please check to make sure you are using the latest version of the library.
We also happily accept pull requests.