Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
4.49k
stars
997
forks
source link
`modal_dialog` helper does not add `tabindex="-1"` attribute to the `modal` div, causing inability to close the window using Esc key #720
Closed
aantono closed 10 years ago
Without
tabindex="-1"
on the<div class="modal">
Esc key does not close the window.This post confirms it as well - http://stackoverflow.com/questions/17615563/bootstrap-3-0-modal-how-to-dismiss-with-esc-or-click-outside-modal