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

<input type="range"> gets clipped in Safari #16809

Closed
bluedusk opened this issue Jul 12, 2015 · 9 comments
Closed

<input type="range"> gets clipped in Safari #16809

bluedusk opened this issue Jul 12, 2015 · 9 comments

Comments

@bluedusk
Copy link

please see:
https://stackoverflow.com/questions/31101398/bootstrap-conflict-with-input-range-in-safari

@kkirsche
Copy link
Contributor

@bluedusk it's easier if you include all the info here and then include a link to stack overflow so we can easily evaluate your issue

The jsfiddle from stack overflow:
https://jsfiddle.net/bluedusk/w5817wez/1/

His issue:
In Safari, The thumb will be cut when it's been moving around. It seems that Bootstrap conflicts with input of type range.

It works fine in Chrome and Firefox. Any idea about this?

body {
    padding: 30px;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/>
<input type="range">

@cvrebert cvrebert added the css label Jul 12, 2015
@cvrebert cvrebert changed the title Bootstrap conflict with input=range in Safari <input type="range"> gets clipped in Safari Jul 12, 2015
@cvrebert
Copy link
Collaborator

Confirmed in Safari 8.0.7 (10600.7.12). This appears to be caused by display: block.
Forcing it back to the WebKit default of display: inline-block gets rid of the clipping.
Demo: http://jsfiddle.net/m7qLaLyu/

@cvrebert
Copy link
Collaborator

display: block; width: 100%; (without Bootstrap; both properties are necessary) is sufficient to trigger the bug:
http://jsfiddle.net/cvrebert/0uzk6f4c/

@cvrebert
Copy link
Collaborator

Filed WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=146896

@cvrebert
Copy link
Collaborator

Filed Apple Safari Radar: http://openradar.appspot.com/21787807

cvrebert added a commit that referenced this issue Jul 13, 2015
cvrebert added a commit that referenced this issue Jul 13, 2015
@mdo mdo mentioned this issue Jul 13, 2015
@cvrebert
Copy link
Collaborator

The WebKit/Safari bug has now been fixed: https://bugs.webkit.org/show_bug.cgi?id=146896#c11

@cvrebert
Copy link
Collaborator

@mdo Do we wish to take any action here?

@mdo
Copy link
Member

mdo commented Jul 18, 2015

Not likely given the bug fixes, but perhaps we can revisit in v4.

@cvrebert
Copy link
Collaborator

Closing then.

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