Skip to content

Focus shift in CardElement #236

Open
@ashbork

Description

@ashbork

Hi! Currently, the only way to shift focus automatically when specific parts of the CC form are filled is if the elements are Individual Card Elements. I was wondering if it'd be possible to make this functionality work out of the box in the single CardElement component? Exposing it as a prop (focusShift? = false) could be a good idea to prevent breaking backwards-compatibility. What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions