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

Popconfirm - keyboard shortcut to force confirm #18532

Closed
1 task done
liesislukas opened this issue Aug 28, 2019 · 1 comment
Closed
1 task done

Popconfirm - keyboard shortcut to force confirm #18532

liesislukas opened this issue Aug 28, 2019 · 1 comment
Assignees

Comments

@liesislukas
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

I use Popconfirm on all "Delete" buttons. I want to have the ability to skip the confirmation when holding some key on the keyboard. E.g. Shift or Option/Alt (mac/windows).

Key should be in props.

What does the proposed API look like?

<Popconfirm .... forceConfirmKey={'Shift'} />

@afc163
Copy link
Member

afc163 commented Aug 28, 2019

Sorry, I don't think we should support this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants