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

[Slider]: Fix Slider div styles. #4086

Closed
wants to merge 21 commits into from
Closed

Conversation

tintin1343
Copy link
Contributor

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Resolves: #3282

The issue with the current slider style was that it used to apply styles twice because of the prepareStyles being used and hence the width % was being applied twice.

I removed the prepare styles component and replace it with the inline style class which was being used anyway. So the style will be applied only once to the "root" div.

I only changed two lines though the others where included when I made a pull from the upstream master.

@@ -1,4 +1,4 @@
import React, {Component, PropTypes} from 'react';
import React from 'react';
Copy link
Member

Choose a reason for hiding this comment

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

Could you revert this change? See #4058 for more details.

@oliviertassinari
Copy link
Member

oliviertassinari commented Apr 25, 2016

@tintin1343 Notice that fixing the issue require to introduce a breaking change.

@oliviertassinari oliviertassinari added the PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI label Apr 25, 2016
oliviertassinari and others added 21 commits April 25, 2016 14:54
This fixes a regression that was introduced in mui#3360. The previous `click-awayable` mixin listened on `mouseup` and `touchend` events and the new `ClickAwayListener` was implemented to use `mousedown` and `touchstart` events. This commit changes the events to mimick the behavior from the original mixin.

Resolves mui#3818
Adds instructions for installing the @next npm package to the README. Also removed an incorrect line from the installation instructions.
@tintin1343
Copy link
Contributor Author

tintin1343 commented Apr 25, 2016

Closing this and deleting the branch as I was having issues with the commit log. Created a new PR #4087

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants