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

Function Values not supported for JSS; but MUI relies on JSS #7646

Closed
rob2d opened this issue Aug 2, 2017 · 1 comment
Closed

Function Values not supported for JSS; but MUI relies on JSS #7646

rob2d opened this issue Aug 2, 2017 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@rob2d
Copy link

rob2d commented Aug 2, 2017

Function values do not seem to be generated for style rules generated from withStyles. This makes it a bit annoying to have to choose-either-or or have a duplicate non-material-ui styleSheet for anything which requires a function.

Example: https://www.webpackbin.com/bins/-Kq_JaPyi7k3QAqPyTsN

(In this example, component should not display as isShown is set to false which should trigger display to return none)

Versions

  • Material-UI: 1.0.0-beta.3
  • React: 15.6.1
  • Browser: Chrome @ latest
@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Aug 3, 2017
@oliviertassinari
Copy link
Member

Duplicate of #7633

@oliviertassinari oliviertassinari marked this as a duplicate of #7633 Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants