react-confirm-alert
react-confirm-alert copied to clipboard
Unable setup tab Index to Confirm/Cancel button on opening
Have used react-confirm-alert package in my project and want users to use most of the functionalities using the keyboard only.
When users click on save button we shows then confirm dialogue but this need to be click on Confirm button using mouse and users are unable to use the keyboard.
Please can anyone let me know the any props and other solution available to solve this issue and set tab Index for the buttons in confirm box
@AbhaysinghBhosale Did you have the solution to fix this yet?
there is not any solution from the library but i have managed it by adding "autoFocus="true"" attribute to the confirm button. So not confirm button can be pressed by Enter key