bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Modal windows do not display on Win8 RP & IE10

Open kefs opened this issue 14 years ago • 29 comments

Using the newly released Windows 8 Release Preview (05/31/2012) from here http://windows.microsoft.com/en-US/windows-8/iso, modal windows do not display, even on the bootstrap examples site, while using IE10 in desktop mode (haven't tested metro mode as it consistently crashes). The body overlay background appears, but no modal window (haven't tested without the slide in effect). You can click anywhere to regain page focus, but all clicking functionality is now disabled.

Obviously, IE10 and Windows 8 are both under rapid development, so I don't anticipate a fix until release, but I just thought this info should noted somewhere. I'm sure there are other issues, this was just the first one I noticed.

kefs avatar Jun 01 '12 19:06 kefs

I am also looking for a proactive fix to this issue.

cmelo72 avatar Jun 04 '12 13:06 cmelo72

This might have something to do with useragent?

Having a similar issue with firefox or chrome using a non-standard user-agent

LastRose avatar Jun 05 '12 15:06 LastRose

Very possible.. just tested this on the newly released Opera 12.00 Build 1467 w32 and behavior is exactly the same as ie10.

kefs avatar Jun 14 '12 08:06 kefs

Yep, confirmed with Windows 8 64-bit, IE 10 Desktop. Confirmed as well with Opera 12.

This is very annoying - especially since Opera 12 has been out for some time now.

p.s. I also tested this on Metro and it has the exact same behavior.

owenversteeg avatar Jul 06 '12 02:07 owenversteeg

Confirmed. Modal doesn't work in IE 10 or Opera 12. Further, the screen darkens, and once you click, it goes back to normal (as if the modal was dismissed), however nothing on screen is clickable. Seems like the overlay is staying on top (with opacity 0) and blocking all input until the page is refreshed. This is a really annoying bug, and makes it so that I cannot reasonably use TBS modals.

Hope this is fixed soon.

clowerweb avatar Jul 09 '12 01:07 clowerweb

Confirmed in Opera 12.00. I have exactly the same comportment as @clowerweb.

AmauryCarrade avatar Jul 09 '12 14:07 AmauryCarrade

Okay everyone! There is a fix! {forgive my excitement, but I'm glad for a fix}

If you don't need animations, you can simply remove the .fade class from your code and the modal will work.

owenversteeg avatar Jul 10 '12 13:07 owenversteeg

Hey @kefs,

Thanks for opening this issue! Unfotunately, it looks like it fails to pass the tests neccessary for submitting to bootstrap. The following tests are currently failing:

  • should include a jsfiddle/jsbin illustrating the problem if tagged with js but not a feature

For a full list of issue filing guidelines, please refer to the bootstrap issue filing guidelines.

thanks!

fat avatar Jul 22 '12 20:07 fat

Thanks @OwenVersteeg! It worked! :)

anderslemke avatar Sep 26 '12 09:09 anderslemke

would be nice if this bug could atcually get fixed without losing the fading effect..

Yohn avatar Sep 26 '12 10:09 Yohn

@anderslemke Awesome, you're welcome.

@Yohn I agree. @fat really needs to reopen this.

owenversteeg avatar Sep 27 '12 00:09 owenversteeg

Thanks @OwenVersteeg but we need with animation effect

maherelghali avatar Sep 27 '12 13:09 maherelghali

Please, we need animation.

Greetings from Brazil

rafwell avatar Nov 26 '12 15:11 rafwell

What's the root cause?

nym avatar Nov 30 '12 00:11 nym

I do not know. See on my website: versiculosbiblicos.org, the link "Sobre Nós" is a modal. In Win IE 8 will not open when clicked. In other browsers work. In line browsers IE is slow, but in Win8 even opens.

rafwell avatar Nov 30 '12 11:11 rafwell

Okay, found out the root problem is addressed in the latest version of bootstrap-transition (msTransitionEnd is wrong).

nym avatar Nov 30 '12 22:11 nym

tl;dr: All you have to do to fix is update bootstrap-transition.js

nym avatar Nov 30 '12 22:11 nym

Thanks Nym, but I found my problem. I'm used the jquery 1.8.0, must be incompatible with this bootstrap version. This caused lag and this bug in modal. Now work fine, I've instaled the 1.8.3 version of jquery, with animation and fast. Thanks for all!! Thanks from Brazil!

Sry for my bad english.

rafwell avatar Dec 10 '12 21:12 rafwell

you can fix it in just a simple way using JQuery as in IE 9 it's working so for 10 use the below code "if ( $.browser.msie ) { // if IE and version is greater 9

    if($.browser.version > 9)
    $('.modal').removeClass('fade');
}"

nasirsher avatar Dec 12 '12 22:12 nasirsher

@nasirsher That's the cludgy way to do it yes- if you update bootstrap-transition.js though you'll find it works without removing awesome transitions. Also having to write browser specific code like that is generally frowned upon.

nym avatar Dec 12 '12 22:12 nym