-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StripeEditText view's text color going transparent #971
Comments
@eddiecrawford thanks for the report! We're going to investigate this internally and get back to you :) |
@eddiecrawford I wasn't able to reproduce this on device or emulator. Can you provide more details on what device you are testing on, what app, and whether it always reproduces? |
@mshafrir-stripe Interesting 🤔 We're wrapping the EditTexts in a TIL like this:
|
Found where it's occurring. When
I can get around this by manually setting the Maybe don't use the default value of 0 if it's never set? It would also be awesome if we could set this error color via XML :) |
`StripeEditText` was not defaulting to `mDefaultErrorColor` when `mErrorColor` was not set. Instead, it was using the default value of `mErrorColor`, which is 0, which is transparent. Fixes #971
@eddiecrawford thanks for the thorough investigation. I put up a PR to fix the issue - #989. In a future PR I'll look into specifying error color via XML. |
`StripeEditText` was not defaulting to `mDefaultErrorColor` when `mErrorColor` was not set. Instead, it was using the default value of `mErrorColor`, which is 0, which is transparent. Fixes #971
Summary
When typing in to the
StripeEditText
fields, then deleting characters and reentering, the entire edit text sometimes goes transparent:Code to reproduce
Android version
API 26 (8.0)
Installation method
Maven / Gradle
SDK version
8.0
The text was updated successfully, but these errors were encountered: