bootboxjs / bootbox

Wrappers for JavaScript alert(), confirm() and other flexible dialogs using Twitter's bootstrap framework
http://bootboxjs.com
Other
5.04k stars 1.04k forks source link

Interaction impossible with Bootbox v4.x #213

Closed qhero closed 10 years ago

qhero commented 10 years ago

Hi,

Firstly thank you for the plugin!

Well I encountered an annoying bug when I use your plugin v4.x... I can't even interact with modal because it appears on 'background' like the rest of the page.

image

For the record all dependencies are up to date and the js file is upload after the main bootstrap. Also I have no error console and it happens on Chrome and IE10, thank you for helping

EDIT: I identify the issue exactly, this is a problem with the z-index for the backdrop with is a little bit too high for my page:

I have to set it 10 less to it work. Can we set it with bootbox.setDefaults(...)?

EDIT 2: Well... I solved it by setting 'backdrop' option to false but it's a pity that I can't have this features which more user friendly. Sorry for the inconvenience!

makeusabrew commented 10 years ago

Hi there,

What operating system is this? I'd guess Windows 7 / 8 but would be good to know exactly. Does this happen on http://bootboxjs.com? If not, could you provide a fiddle of when it does occur?

Thanks!

qhero commented 10 years ago

Yes, I'm using windows 8 and it works on http://bootboxjs.com but it appears on this site there is no z-index htlm attribute set...

makeusabrew commented 10 years ago

Right - I'm a bit confused - if it works on bootboxjs.com I need a jsFiddle to try and help as it's most likely a bug in your implementation than the library...

qhero commented 10 years ago

Ok... you were write. It was a conflict with a another js

            "~/Scripts/bootstrap-modal.js",
            "~/Scripts/bootstrap-modalmanager.js"

So I removed and solved :) Thank you anyway! Hope this post will help for those who forgot to remove old js files !