bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Issues with Opera browser regarding modals

Open flurrry opened this issue 15 years ago • 11 comments

Hello, i'm submitting here an issue i experience recently. Hope someone can help me with this one.

I experience an issue whenever i use:

$('#my-modal').modal('show')

for Firefox, it's working the way it should be... but for Opera (or maybe other web-kit browsers?) it shows the backdrop, but not the modal window... It just dims the whole window w/o the modal.

i use the options:

backdrop: "static", keyboard: true

and i figured out i need the option :

show: true

to make it work with Opera, but whenever i use that option it doubles the backdrop in other browsers (i.e. Firefox) to be specific, when i close the modal, it shows another backdrop which has no more modal window it just stays dimmed.

flurrry avatar Oct 14 '11 14:10 flurrry

could you create a jsfiddle demonstrating this problem, thanks!

fat avatar Nov 01 '11 18:11 fat

<offtopic> Opera is not WebKit browser. It uses it's own engine - Presto. </offtopic>

smasty avatar Nov 02 '11 15:11 smasty

@flurrry Can you update with a jsfiddle?

mdo avatar Nov 17 '11 09:11 mdo

I can't reproduce this with 1.4. My guess is it was related to the animation event being dropped like in firefox. Closing unless you can provide a non working jsfiddle - thanks!

fat avatar Nov 21 '11 06:11 fat

@flurrry : double check how you declare your modal. I have had the same problem with a Q&D implementation (I have initialized the modal in a click callback).

I hope it can helps :)

antoineguiral avatar Dec 01 '11 04:12 antoineguiral

Hello @fat,

Sorry I can't really create a good jsfiddle example for this, as I mostly use PHP codes to support the modal. I tried but it won't show in the result window. You may check out the syntax I use: http://jsfiddle.net/xc5UZ/2/ I replaced the some of the php functions with some comments.

NOTE: I am using the modal as a pop-up when a specific cookie is "not found", after the modal is closed, the cookie will be created.

*I am not really familiar with jsFiddle, so I don't know if I made the correct set-up to match the example...

flurrry avatar Dec 08 '11 03:12 flurrry

keeping closed for now - have you tried updating to the latest modal js?

fat avatar Dec 08 '11 18:12 fat

Yes I have. Still no luck. Maybe I should use false on backdrop, which will solve the problem having double backdrops.

flurrry avatar Dec 13 '11 17:12 flurrry

lol it doesnt work when clicking the "open modal" button on the docs even in opera next (12) 64bit

WilliamStam avatar Apr 19 '12 11:04 WilliamStam

http://gyazo.com/df3565a612b4c37e30ec7d51182210c4.png?1334836271

(does the same on 2.0.2)

WilliamStam avatar Apr 19 '12 11:04 WilliamStam

It looks like position:fixed bug. When I change the position property to absolute or static, or something like that popup appears.

ghost avatar Jun 27 '12 09:06 ghost