Maxlength in IonInput and IonTextArea not working on Android device

Hi.
I use Ionic react version 5. It seems that maxlength attribute is not working correctly on IonInput and on IonTextArea on my android device. It does work as expected in the browser.

I saw some post about this issue, it seems that it is was already there in previous versions of ionic. But I cannot find a suitable workaround with ionic react. Any idea on how I can do this ?