bootstrap-3-modal icon indicating copy to clipboard operation
bootstrap-3-modal copied to clipboard

I can navigate background page with TAB key

Open lionelromanelli opened this issue 9 years ago • 5 comments

When the modal is open, I can navigate by background page pressing the TAB key.

lionelromanelli avatar Sep 09 '15 14:09 lionelromanelli

Is this a problem specific to this package? Doesn't it work like that in bootstrap?

PeppeL-G avatar Sep 09 '15 17:09 PeppeL-G

I don't know. But if you can see the examples in getbootstrap.com/javascript/#modals page haven't that problem.

lionelromanelli avatar Sep 09 '15 18:09 lionelromanelli

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.

PeppeL-G avatar Sep 18 '15 13:09 PeppeL-G

This behavior is kind of annoying. Would be great if someone finds a fix.

JcBernack avatar Nov 27 '15 13:11 JcBernack

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 });

bluefangs avatar Sep 28 '16 12:09 bluefangs