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

Use react-range for input sliders to support IE #52

Merged
merged 9 commits into from Oct 19, 2015
Merged

Conversation

bsudekum
Copy link

Right now, react-colorpickr does not support IE because the onChange event is not fired IE when using input type=range. This swaps out regular input ranges with react-range which works around this issue.

/cc @tmcw @tristen

@bsudekum
Copy link
Author

Per conversation with @tmcw, we're going to merge this and put out an alpha for testing purposes.

tristen added a commit that referenced this pull request Oct 19, 2015
Use react-range for input sliders to support IE
@tristen tristen merged commit 5bd823b into mb-pages Oct 19, 2015
@tristen tristen deleted the IE-compatible branch October 19, 2015 17:54
@@ -397,7 +398,7 @@ module.exports = React.createClass({
</fieldset>
</div>
<fieldset className='cp-fill-tile'>
<input
<Range
className='cp-alpha-slider-input'
value={a}
onChange={this._onAlphaSliderChange}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type=range here is implied and can be removed

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

Successfully merging this pull request may close these issues.

None yet

3 participants