You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Modal#escape function binds an event to $this.element, and unless there's focused element in a modal, it doesn't become activeElement and the keyup event doesn't fire.
Also, when there's no backdrop, and activeElement is outside of the modal, esc doesn't work either.
Version: 2.2.2.
The Modal#escape function binds an event to
$this.element
, and unless there's focused element in a modal, it doesn't become activeElement and the keyup event doesn't fire.Also, when there's no backdrop, and activeElement is outside of the modal, esc doesn't work either.
Event should be on the body instead.
Example: http://jsfiddle.net/elado/3su2V/
The text was updated successfully, but these errors were encountered: