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

AutoFocus/focus function on CardField #199

Closed
tgensol opened this issue May 11, 2021 · 4 comments · Fixed by #226
Closed

AutoFocus/focus function on CardField #199

tgensol opened this issue May 11, 2021 · 4 comments · Fixed by #226
Labels
enhancement New feature or request P1 Address these issues second

Comments

@tgensol
Copy link
Collaborator

tgensol commented May 11, 2021

An AutoFocus/focus function on the CardField component could be really cool.

It will save some clicks to my user and by abtesting we saw that the conversion rate was better in the past

@thorsten-stripe thorsten-stripe added enhancement New feature or request P1 Address these issues second labels May 11, 2021
@thorsten-stripe
Copy link
Contributor

thorsten-stripe commented May 11, 2021

@arekkubaczkowski maybe we can just add a autoFocusOnLoad boolean to the <CardField /> component? @tgensol would that meet your needs? Or do you actually want to control when to focus the field?

@tgensol
Copy link
Collaborator Author

tgensol commented May 11, 2021

autoFocusOnLoad would be great !

But being able to control the focus, would be better for me

@anija
Copy link

anija commented Oct 4, 2021

Is the autofocus field the prop intended for this? Because it seems it's not working.

@arekkubaczkowski
Copy link
Collaborator

@anija yes it should work, if you having any problems please create a separate issue and provide all needed information following bug report template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 Address these issues second
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants