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

[LeftNav] Remove style-propable mixin #3229

Merged
merged 1 commit into from
Feb 8, 2016

Conversation

newoga
Copy link
Contributor

@newoga newoga commented Feb 8, 2016

No description provided.

@alitaheri
Copy link
Member

Lovely 👍

@@ -283,7 +276,7 @@ const LeftNav = React.createClass({
},

_setPosition(translateX) {
const leftNav = ReactDOM.findDOMNode(this.refs.clickAwayableElement);
Copy link
Member

Choose a reason for hiding this comment

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

The ref is applied on a Paper. That's breaking the swappable effect.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ohhh, thanks for catching. I tested on my phone and it was working but I was clicking the button, not swiping. Now I get it.

@newoga
Copy link
Contributor Author

newoga commented Feb 8, 2016

  • Added back use of ReactDOM to fix issue with swiping on mobile devices (comment)

oliviertassinari added a commit that referenced this pull request Feb 8, 2016
[LeftNav] Remove style-propable mixin
@oliviertassinari oliviertassinari merged commit 9283a6f into mui:master Feb 8, 2016
@oliviertassinari
Copy link
Member

@newoga Thanks!

@newoga newoga deleted the #2852/left-nav branch February 8, 2016 16:24
@zannager zannager added the package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants