bootstrap-3-modal
bootstrap-3-modal copied to clipboard
I can navigate background page with TAB key
When the modal is open, I can navigate by background page pressing the TAB key.
Is this a problem specific to this package? Doesn't it work like that in bootstrap?
I don't know. But if you can see the examples in getbootstrap.com/javascript/#modals page haven't that problem.
I'm sorry for the late response, but you're right. I don't know the reason for this, and I don't have the time to investigate it, but if someone does, feel free to do it.
This behavior is kind of annoying. Would be great if someone finds a fix.
Almost a year late on this but what happens if you set keyboard to false? I know that you won't be able to make the modal dismiss by the keyboard escape key, but does it help solve your issue ?
Modal.show('someModalName',null, { backdrop: 'static', keyboard: false });