Skip to content

The keyboard occasionally covers the card component in drop in #2572

@atomicelliot

Description

@atomicelliot

Description

The keyboard occasionally covers up the card component in drop in. So far this has only been reproducible on landscape tablets. Closing the keyboard and reopening it fixes the issue, and so does rotating to portrait.

Note: I am not using any custom styling

Steps to Reproduce

  1. I am able to consistently reproduce this issue: Yes
  2. Steps to reproduce the issue:
    1. Launch the app on an Android tablet running Android 14 in landscape mode
    2. Start drop in
    3. Select cards
    4. The keyboard covers the card component
    5. Closing the keyboard and reopening or rotating the device fixes the issue
  3. Screenshots or a screen recording:
Screen.Recording.2026-02-05.at.17.54.02.mov

Logs and Crash Reports

Relevant logs N/A

Code Snippets

Provide code snippets where the SDK is implemented in your project.

    val dropInLauncher = rememberLauncherForDropInResult(
        DropInCallback { dropInResult ->
            ...
        },
    )

    DropIn.startPayment(
        dropInLauncher = dropInLauncher,
        paymentMethodsApiResponse = paymentMethodsApiResponse,
        checkoutConfiguration = CheckoutConfiguration(
            environment = Environment.TEST,
            clientKey = "...",
            amount = Amount("GBP", 2400L),
        ) {
            dropIn {
                setEnableRemovingStoredPaymentMethods(true)
                setShowPreselectedStoredPaymentMethod(false)
            }
        },
        serviceClass = MyDropInService::class.java,
    )

Integration Information

  1. Server-side integration: Advanced flow
  2. Client-side integration: Drop-in
  3. SDK version: 5.16.0
  4. Android version(s) where issue occurs: Android 13, 14, 15 (potentially others)
  5. Device model(s) where issue occurs: Pixel Tablet emulator, Samsung Galaxy Tab S9 FE 5G in landscape
Image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportIndicates that issue has been marked as a possible bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions