Skip to content
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

[BUG] CardBrandView error state icon is stretched #9129

Open
rrodriguze opened this issue Aug 27, 2024 · 0 comments
Open

[BUG] CardBrandView error state icon is stretched #9129

rrodriguze opened this issue Aug 27, 2024 · 0 comments
Labels

Comments

@rrodriguze
Copy link

Summary

After updating to the version 20.48.4 of the SDK we started seeing that the error icon displayed in the CardInputWidget is stretched.

Code to reproduce

We are using the component in Compose, the code is the following:

    AndroidView(
        modifier = Modifier.fillMaxWidth(),
        factory = { context ->
            CardInputWidget(context).apply {
                postalCodeEnabled = false
                setCardValidCallback { _, _ ->
                    ....
                }
            }
        }
    )

Android version

Tested in android 14 and 13, same behaviour.

Impacted devices

Physical device -> Pixel 6
Different emulators also tested.

Installation method

Installed through the gradle dependency com.stripe:stripe-android

Dependency Versions

kotlin: 1.9.23
stripe-android: 20.48.4
Android Gradle Plugin: 8.2.2
Gradle: 8.4

SDK classes

CardBrandView used in CardInputWidget

Screenshot

20.48.4 20.48.3
Screenshot 2024-08-27 at 14 54 51 Screenshot 2024-08-27 at 14 09 07

Other information

Maybe it's related to the fix for #8625.

@rrodriguze rrodriguze added the bug label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant