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

keep focus in dialog box #33

Merged
merged 1 commit into from
Dec 2, 2012
Merged

keep focus in dialog box #33

merged 1 commit into from
Dec 2, 2012

Conversation

fabien-d
Copy link
Owner

@fabien-d fabien-d commented Dec 2, 2012

Resolves

Focus now remaining inside the dialog until an action happens. Using the keyboard tab key will cycle through available elements.

Spacebar now acts as ENTER key on alert and confirm (closing as if OK had been clicked). However this scrolls the page. I haven't figured out a way (or if it's even possible) to prevent the default behaviour

fabien-d added a commit that referenced this pull request Dec 2, 2012
@fabien-d fabien-d merged commit 64eeb3d into master Dec 2, 2012
psolom pushed a commit to psolom/alertify.js that referenced this pull request Aug 23, 2016
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

Successfully merging this pull request may close these issues.

1 participant