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

[Drawer] not working when using ignore-styles #4484

Closed
Itagiba opened this issue Jun 13, 2016 · 2 comments
Closed

[Drawer] not working when using ignore-styles #4484

Itagiba opened this issue Jun 13, 2016 · 2 comments
Labels
component: drawer This is the name of the generic UI component, not the React module! external dependency Blocked by external dependency, we can’t do anything about it

Comments

@Itagiba
Copy link

Itagiba commented Jun 13, 2016

Problem description

Hello, I am currently using ignore-styles to prevent babel-register from interpreting my sass files as .js, It solves the problem. However it seems to break some of the material-ui components.

On the browser console, it shows the following error:

ignore-styles.js:45 Uncaught TypeError: Cannot read property '.css' of undefined

And the drawer menu stops working.

This is what it is pointing to in ignore-styles.js (45):

    oldHandlers[ext] = (void 0)[ext];
    (void 0)[ext] = handler;
  }

What does this mean exactly? Is this a known bug?

@mpontikes mpontikes mentioned this issue Aug 5, 2016
13 tasks
@foxhound87
Copy link

foxhound87 commented Aug 10, 2016

Getting similar error: TypeError: Cannot read property '.js' of undefined
I'm not using ignore-styles, but maybe can be related to material-ui? I'm not sure.

After building with webpack (v1.13.1),

Error thrown here: oldHandlers[ext] = (void 0)[ext]; in hookExtensions()

Complete description: webpack/webpack#2852 or #4935

@oliviertassinari oliviertassinari added the component: drawer This is the name of the generic UI component, not the React module! label Dec 18, 2016
@oliviertassinari oliviertassinari changed the title Drawer not working when using ignore-styles [Drawer] not working when using ignore-styles Dec 18, 2016
@oliviertassinari
Copy link
Member

The error seems unrelated to Material-UI. I'm closing it.

@oliviertassinari oliviertassinari added the external dependency Blocked by external dependency, we can’t do anything about it label Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: drawer This is the name of the generic UI component, not the React module! external dependency Blocked by external dependency, we can’t do anything about it
Projects
None yet
Development

No branches or pull requests

3 participants