oneuptime
oneuptime copied to clipboard
Trap focus inside modals
Describe the bug
Tabbing through a modal jumps from the last input to the rest of the page, skipping the action buttons.
To Reproduce Steps to reproduce the behavior:
- Go to Dashboard > Incidents
- Click on Create Incident
- Tab through the inputs
- The focus will skip the Close/Next buttons and jump to the rest of the page
Expected behavior
Focus jumps to the "Next" button.
Screenshots
~~If applicable, add screenshots to help explain your problem.~~
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox
- Version: 111
Additional context
Using the "Enter" button won't work either.