Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap carousel controls not properly clickable in IE9 #16796

Closed
Cellcote opened this issue Jul 9, 2015 · 8 comments
Closed

Bootstrap carousel controls not properly clickable in IE9 #16796

Cellcote opened this issue Jul 9, 2015 · 8 comments

Comments

@Cellcote
Copy link

Cellcote commented Jul 9, 2015

So I have included a Bootstrap carousel in my website and I'm creating my own controls for going to the next slide. When I tried to check if the controls were working in IE9, I found something strange. The clickable area for the control was gone. I checked the default controls if the same thing occurred, and it did. To be more concrete, I made some screenshots.

In Safari, Chrome and IE11, this is what's happening and what is desired: screenshot
Here the red area is the area in which the click will trigger the next slide. The left side is my own control, right side is the default glyphicon.

In IE9, this will happen: screenshot

Is there a quick fix for this?

@cvrebert
Copy link
Collaborator

cvrebert commented Jul 9, 2015

@Cellcote Please confirm that you're using Bootstrap v3.3.5.
X-Ref: #11186

@Cellcote
Copy link
Author

I just upgraded to Bootstrap v3.3.5 and this issue is still happening.

@cvrebert
Copy link
Collaborator

@Cellcote Please post a JS Bin or JS Fiddle that demonstrates the problem.

@cvrebert
Copy link
Collaborator

Nevermind, confirmed using http://getbootstrap.com/examples/carousel/

@Cellcote
Copy link
Author

A jsfiddle is here

Inspired by the issue linked, i managed to fix this by adding the following css:

a.carousel-control {
        background-color: rgba(0,0,0,0);
}

This solution works in IE9, but does not work in IE8

@twbs-lmvtfy
Copy link

Hi @Cellcote!

You appear to have posted a live example (https://fiddle.jshell.net/DTcHh/9789/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

  • line 15, column 7: W013: Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.0.0

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!

(Please note that this is a fully automated comment.)

@cvrebert
Copy link
Collaborator

@cvrebert cvrebert added the v3 label Aug 19, 2015
@mdo
Copy link
Member

mdo commented Nov 15, 2015

We can fix the IE9 part, but calling IE8 a won't fix since the suggested fixes in the linked MDN document for IE8 reference nuking the opacity as the only way. That kind of defeats the point though—if it's invisible, there's literally nothing to click on 😁.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants